This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Remote 'g' packet reply is too long
- From: Max Filippov <jcmvbkbc at gmail dot com>
- To: naga raj <gnuuser dot raj at gmail dot com>
- Cc: gdb at sourceware dot org
- Date: Fri, 20 May 2011 15:42:01 +0400
- Subject: Re: Remote 'g' packet reply is too long
- References: <BANLkTimA81irrySTLHDgQT9z5MAHU1-ehg@mail.gmail.com>
> 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