gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

ASM > configure gdb in console mode to target ARM

#72802 - nunoalves - Tue Feb 21, 2006 9:39 pm

hello, I am running macosx and im trying to get gdb to work in console mode so i can debug my code in asm. However i cant seem to get the ARM target running. I can compile code to run on my console, but i simply cant debug it.
thank you very much guys!
nuno

#74145 - wintermute - Thu Mar 02, 2006 8:24 pm

you'll need to get the CVS sources of gdb in order to debug devkitPro compiled code.

configure it as

Code:

<path to>/configure --target=arm-elf --prefix=<your chosen prefix> --disable-nls


where <path to> is the full path to gdb's configure script and <your chosen prefix> is where you want to install the resulting binaries. Normally I use a separate build directory for all the gnu tools and /usr/local/devkitPro/<package> as the prefix. In this case I'd use /usr/local/devkitPro/gdb
_________________
devkitPro - professional toolchains at amateur prices
devkitPro IRC support
Personal Blog

#98650 - Fempagkip - Wed Aug 16, 2006 7:37 pm

Great information