Debugging with GDB
amadeus at iksw-muees.de
Sat Sep 8 23:14:37 CEST 2007
I have added gdb + gdbserver to DSLINUX.
You have to build a new toolchain (to get arm-linux-elf-gdb), and build
an image with CONFIG_USER_GDB_GDBSERVER=y
Example debugging of the rtest program:
Telnet into your ds and:
gdbserver :4000 /usr/bin/rtest
On the host, start gdb:
> target remote ds:4000
> break main
We're back to the times when men were men
and wrote their own device drivers.
More information about the dslinux-devel