This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Correct gdbserver register packets
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Mon, 2 Dec 2002 09:15:01 -0500
- Subject: Re: [RFC] Correct gdbserver register packets
- References: <5.0.2.1.2.20021126162728.02a31e50@ics.u-strasbg.fr> <20021202011500.GA19215@nevyn.them.org> <jevg2cg0og.fsf@sykes.suse.de>
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.
Really? Oh, I suppose that gdbserver is receiving 31 registers back
from GDB.
Why is that happening? There are 31 registers in m68k_register_name
but no remaining target implements the last two (did any obsolete
target?) and the register packet appears to be sized for 29 registers.
I'll investigate.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer