This is the mail archive of the gdb-patches@sourceware.org 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 for GDB rs6000-tdep.c


On Wed, May 17, 2006 at 12:00:26PM -0600, Greg Page wrote:
> The attached is a patch for the file gdb-6.4/gdb/rs6000-tdep.c.
> 
> The problem: The register definitions for the e500 assume only 4 bytes 
> per floating-point register but the gdbserver assumes 8 bytes per 
> floating-point register.

Gdbserver in the FSF tree doesn't have any concept of the e500
registers.  This isn't the only thing that isn't going to work.

The right solution is to make GDB detect when it is talking to a
gdbserver that supports e500, and have the two negotiate how big
registers actually are.  We're working on this, but it's complex.

-- 
Daniel Jacobowitz
CodeSourcery


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