This is the mail archive of the
mailing list for the glibc project.
Re: ptrace for mips n32 and n64
On Mar 14, 11:57am, Daniel Jacobowitz wrote:
> I still don't really like it - it will make porting native GDB a real
Why will it be a pain? GDB has the macros PTRACE_XFER_TYPE and
PTRACE_ARG3_TYPE to make this sort of thing easier.
FWIW, I don't recall any n32 related problems related to ptrace()
when I did the rda port. (I must admit that I found this kind of
> which is probably why Kevin only did rda.
The reason I did a port for rda and not native gdb is because that is
what I was assigned to do, not because it was going to be a pain.
The thing which I think is going to be a problem is the fact that
there are three libthread_db libraries, one for each of the ABIs
to contend with. If that weren't the case, I think a single n64
gdb could suffice for debugging applications using any of the three
I couldn't think of a nice way to solve this, so, for rda, we have
three different rda binaries, one for each ABI.