I inherited a distribution for an IXP420 Xscale processor and tried to use gdb without success. This is what I get on the target and on the host (Debian). I did a search on this and it seems that :
- I have to apply a patch
- The cross-compile was not done properly
- I have to upgrade my gdbserver.
Any insights? Thanks.
gdbserver :3000 /bin/ Process /bin/ created; pid = 211 code at (nil) - (nil), data at (nil) Remote debugging using :3000 readchar: Got EOF Remote side has terminated connection. GDBserver will reopen the connection.
arm-uclinux-gdb GNU gdb 6.1 Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-uclinux". (gdb) target remote 192.168.4.1
192.168.4.1: No such file or directory. (gdb) target remote 192.168.4.1:3000 Remote debugging using 192.168.4.1:3000 Couldn't establish connection to remote target Reply contains invalid hex digit 59 (gdb)