[RFC] Correct gdbserver register packets

Daniel Jacobowitz drow@mvista.com
Mon Dec 2 21:20:00 GMT 2002


On Mon, Dec 02, 2002 at 11:44:31AM +0100, Andreas Schwab wrote:
> Daniel Jacobowitz <drow@mvista.com> writes:
> 
> |> Or else Andreas's patch to decrease the number of registers.  Hmm,
> |> probably doing it Andreas's way is better.  I'll take care of this in
> |> the morning.
> 
> My way of fixing it is not complete, I get "Wrong sized register packet"
> messages from gdbserver.

There's a much easier solution: change the 31 to 29, and remove the
extra two registers from regformats/.  I'm not familiar with any m68k
stubs; do you know of any others that do or do not include the extra
two registers, which GDB no longer seems to know anything about?  Or
are they just bogus?

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list