tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd32_{,u}int64 in sys/types.h for compat/sys/siginfo.h



On 2019/11/22 10:56, Christos Zoulas wrote:
In article <679493cf-3e85-f56d-85e4-dfaf7958a379%gmail.com@localhost>,
Rin Okuyama  <rokuyama.rk%gmail.com@localhost> wrote:
...
This was my misunderstanding. These codes are used when tracer is 64-bit
and traced is 32-bit. Don't know whether this is useful though...

Yes, and someone broke them because all the ptrace 64->32 calls for
registers seem to return 0 now. Was that code changed recently?
...

I fixed it:
http://mail-index.netbsd.org/source-changes/2019/11/22/msg111068.html

Now, gdb/amd64 seems to work for i386 binaries to some extent, at least.

Thanks,
rin


Home | Main Index | Thread Index | Old Index