[WIP/RFC] MIPS registers overhaul [clarification]
David Anderson
davea@quasar.engr.sgi.com
Wed May 21 21:23:00 GMT 2003
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
More information about the Gdb-patches
mailing list