This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch rfc] Add NUM_REGS pseudo regs to MIPS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]