This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[WIP/RFC] MIPS registers overhaul [clarification]


I wrote:
>IRIX has always defined the interface  with /proc as
>the higher of the ABI of
>        the debugger (requesting /proc operations)
>        the victim app (operated-on)
>
>So gdb built -64 sees all IRIX /proc interfaces  producing
>the same sort of results whether  the victim app is
>o32 n32 or 64 (lowest to highest on IRIX).

I realized this might not be clear :-(

This means that when an ioctl() on a process fd results in putting
values into the debugger memory, the results are formatted
as the higher ABI (quoted above) would imply.

And values sent via pointed-to areas (thru ioctl() 
on a process fd) similarly.

It's possible to compile a debugger in any ABI (even o32)
that will debug apps in all 3 ABIs.
David Anderson 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]