Hallo I have an ARM9 Embedded Board This is connected via LAN to the host PC. I start on the ARM board the gdbserver. # gdbserver host:4444 ./ftpd Process ./ftpd created; pid = 176 Listening on port 4444 On the host PC I start arm-gdb ftpd GNU gdb Red Hat Linux (6.7-2rh) Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-linux". The target architecture is set automatically (currently arm) .. (gdb) target remote 192.168.30.11:4444 Remote debugging using 192.168.30.11:4444 0x400007c0 in ?? () from /opt/eldk/arm/lib/ld-linux.so.3 (gdb) On the embedded board I got the output: Remote debugging from host 192.168.30.254 The connection is established. That is nice. But how are the correct commando for starting debug ? On host pc (gdb) step Cannot access memory at address 0x0 Cannot find bounds of current function (gdb) run The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /home/red/iso/troll-ftpd/troll-ftpd-1.28/ftpd Don't know how to run. Try "help target". On the embedded board I got: Killing inferior
Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
Log in with Google account
No account? Register here.