This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [WIP/RFC] MIPS registers overhaul
- From: David Anderson <davea at quasar dot engr dot sgi dot com>
- To: gdb-patches at sources dot redhat dot com
- Cc: drow at mvista dot com, kevinb at redhat dot com, cgd at broadcom dot com
- Date: Wed, 21 May 2003 13:57:32 -0700 (PDT)
- Subject: Re: [WIP/RFC] MIPS registers overhaul
Andrew Cagney
|> The fact that a specific remote debug agent choses to use 32 bit
|> registers is a limitation of that debug agent / kernel. An embedded
|> target, and I'm pretty sure IRIX 6.5, for instance, don't do that.
Daniel Jacobowitz
|No, from GDB's view point in this situation, the target ISA is _NOT_ 64
|bit. Nothing 64-bit is available, either to the inferior or to the
|debugger. Period.
|
|I would be a little surprised if IRIX didn't work that way too, but I
|don't have access to IRIX to poke around.
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).
Regards,
David B. Anderson davea@sgi.com http://reality.sgiweb.org/davea