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: Edjunior Barbosa Machado <emachado at linux dot vnet dot ibm dot com>
- To: gdb at sourceware dot org
- Date: Fri, 20 May 2011 09:13:32 -0300
- Subject: Re: Remote 'g' packet reply is too long
- References: <BANLkTimA81irrySTLHDgQT9z5MAHU1-ehg@mail.gmail.com>
On 05/20/2011 08:04 AM, naga raj wrote:
> Hi,
>
> 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:
> 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
>
>
>
> Please suggest me to proceed furture..
>
> Thanks in advance
> Nagaraju
>
Have you seen any warning message mentioning "XML support disabled" on gdb side after the 'target remote...' command? Is your gdb built with expat support (--with-expat option on ./configure)? I had a similar problem recently and rebuild gdb with expat support solved it.
Regards,
--
Edjunior