GDB

From ArmadeusWiki
Revision as of 23:46, 20 January 2007 by JulienB (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

On this page you will find all you need to debug your applications running on your Armadeus board

First of all, be sure to have installed the Toolchain During Cross Compiler configuration be sure to have choosen GDB for the Host and GDBserver options

Debugging on target from Host

On target launch your program like that:

# gdbserver 192.168.0.2:2345 program

192.168.0.2 is the IP address of your Host and 2345 the port number to use

On your host launch:

$ arm-linux-gdb program
(gdb) target remote 192.168.0.3:2345

192.168.0.3 is the address of your target