On Wed Apr 14  5:19 , Gary Thomas  sent:

>On 04/14/2010 01:59 AM, [email protected] wrote:
>> Hi !
>>
>> I have built gdbserver and deployed it on my overo.
>>
>> I am using a Ubuntu virtual box on windows to do the debugging but i get a 
>> strange
>> message from gdb. It says..
>>
>> Remote 'g' packet reply is too long
>>
>> and the connection is reset. It seemes as the gdb can not understand the 
>> protocol
>> from the gdbserver ??
>
>You need to run a GDB on the host which has been configured
>for the target architecture.  This will *not* be 'gdb' on
>the host, rather something like arm-linux-eabi-gdb
>
>In Angstrom, I think you build this using 'gdb-cross'
>

Thanx everybody. That did the trick so far. Its a bit strange though that using 
gdb on the same platform and doing a gdb/gdbserver connection on 
the same platform gives the same result. Even if both are ARMs..

Next question... How do you use shared libraries. I can not debug into shared 
libs

Third question.. It seemes as the -fshort-wchar is not supported by gcc 4.3.3 
on arm. Is there a simple way to ramp up the version of the build 
scripts to get a uniform build for all gcc tools ?


_______________________________________________
Angstrom-distro-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to