Error running remote gdb
Michael Snyder
Michael.Snyder@palmsource.com
Wed Aug 30 23:08:00 GMT 2006
On Wed, 2006-08-30 at 14:54 -0700, Bizhan Gholikhamseh (bgholikh) wrote:
> Hi
> On our custome based powerpc we are running Linux 2.6.11.
> I am trying to run a sample debug session with gdbserver.
>
> On target board I typed:
> gdbserver <host ip address>:portno <test program>
>
> Then on host system I typed:
> gdb <test program>
> gdb> target extended-remote <target IP addr>:portno
> gdb> b main
> gdb> cont
>
> Then I got the following error on my host;
> Ignoring packet erro, continuing...
> Ignoring packet erro, continuing...
> Reply contains invalid hex digit 116
Most likely, your gdbserver and your gdb have not agreed on
a particular PPC architecture and register set. So gdbserver
will send a message to gdb containing the register values, but
gdb will think that the message is the wrong size.
You can narrow this down by telling gdb:
set debug remote on
before issuing the "target remote" command.
If this is the problem, it will be resolved by determining the
best-match PPC architecture and setting gdb to expect that
architecture before connecting, by using the "set architecture"
command.
Michael
More information about the Gdb
mailing list