[patch rfc] Add NUM_REGS pseudo regs to MIPS

Kevin Buettner kevinb@redhat.com
Wed Jun 18 23:54:00 GMT 2003


On Jun 18, 12:35pm, Andrew Cagney wrote:

> > On a big endian 32 bit ABI, the compiler spills floating-point
> > registers as a pair and as a floating-point double.  Because the
> > target is big-endian, this leads to the register pair being stored
> > in reverse order vis:  $fN ||| $fN+1 are stored as $fN+1 and then
> > $fN.
> > 
> > The code doesn't do that, it gets the address of $fN correct, but
> > $fN+1 is 8 bytes out.  Outch!
[...]
> Committing it will make, the already impossible task of getting the MIPS 
> frame code using the unwinders, even harder.

Okay, I see what you mean.  Proceed as you see fit.

(I'm going to step aside and let you handle the integration of whatever
portions of my patch that you wish to retain.)

Kevin



More information about the Gdb-patches mailing list