This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[WIP/RFC] MIPS registers overhaul [clarification]
- From: David Anderson <davea at quasar dot engr dot sgi dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: cgd at broadcom dot com, kevinb at redhat dot com, drow at mvista dot com
- Date: Wed, 21 May 2003 14:22:28 -0700 (PDT)
- Subject: [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