Debugging with GDB

Amadeus amadeus at iksw-muees.de
Sat Sep 8 23:14:37 CEST 2007


Hello Freaks,

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:
arm-linux-elf-gdb rtest.gdb
> target remote ds:4000
> break main
> continue

Enjoy!

Amadeus
-- 
We're back to the times when men were men 
and wrote their own device drivers.

(Linus Torvalds)



More information about the dslinux-devel mailing list