Debugging with GDB

Troy Davis gpf at dslinux.in-berlin.de
Wed Sep 12 16:55:23 CEST 2007


Quoting Amadeus <amadeus at iksw-muees.de>:

> 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)
> --
> dslinux-devel mailing list
> dslinux-devel at dslinux.in-berlin.de
> http://mailman.dslinux.in-berlin.de/mailman/listinfo/dslinux-devel
>


Great Work, played around last night with debugging a c++ port I've just started
working on :)

Troy(GPF)



More information about the dslinux-devel mailing list