Remote 'g' packet reply is too long
Edjunior Barbosa Machado
emachado@linux.vnet.ibm.com
Fri May 20 12:14:00 GMT 2011
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
More information about the Gdb
mailing list