Remote 'g' packet reply is too long

Max Filippov jcmvbkbc@gmail.com
Fri May 20 11:42:00 GMT 2011


> I getting "Remote 'g' packet reply is too long" error when I am
> using GDB of an embedded target.
>
> I browsed the net and there are links that are saying to use "set
> architecture" command or load your executable at command line but
> these has not solved my problem.
>
> I am using gcc-4.6 and gdb-7.2 versions and both of them are built on
> 32-bit machine.
>
> (gdb) tar remote 172.23.37.29:1234
> Remote debugging using 172.23.37.29:1234
> Remote 'g' packet reply is too long:

Your gdbserver sends unexpected registers to gdb. What is you target
architecture? Where have you got your gdbserver for it?

-- 
Thanks.
-- Max



More information about the Gdb mailing list