[WIP/RFC] MIPS registers overhaul

David Anderson davea@quasar.engr.sgi.com
Wed May 21 20:58:00 GMT 2003


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



More information about the Gdb-patches mailing list