This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remote 'g' packet reply is too long



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]