[patch rfc] Add NUM_REGS pseudo regs to MIPS

Kevin Buettner kevinb@redhat.com
Wed Jun 18 04:32:00 GMT 2003


On Jun 16, 11:35am, Andrew Cagney wrote:

> Per my last post to an old thread.  This adds NUM_REGS pseudo registers 
> to the MIPS.  These pseudo registers, unlike their raw counterparts are 
> `sane'.  They have sensible sizes, offsets, types, ...
> 
> The intent here is to put some distance between the MIPS's messed up raw 
> register buffer and the ABI registers.  As it stands, it doesn't get 
> save/restore right (it works but not by using the ABI registers).  That 
> can follow.
> 
> Tested on mips-elf.
> 
> thoughts?

In light of the recent o32 ABI discussion, I believe the approach
that I used is correct for both the ABI / debug info case as well
as the cli registers case.  I think you should reconsider my patch
before proceeding.

Kevin



More information about the Gdb-patches mailing list