Re: [RFC] Correct gdbserver register packets

Pierre Muller
2002-12-03T08:31:13Z

At 06:21 03/12/2002, Daniel Jacobowitz wrote:
>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?

config/m68k/tm-sun3.h
seems to use 31 registers including the two not known by
other m68k targets...
But I don't known the state of that target...