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.

Beginners > Building GDB

#35807 - DecayCell - Fri Feb 11, 2005 1:14 am

I'm quite desperate now, as I just can't get GDB to work. I'm using VisualBoyAdvance, and it runs my compiled ROMs fine. But when I connect a GDB session it just hangs. I built GDB with --target=arm-thumb-elf, and I don't really know what to do now...
Any help would be appreciated. :)

#35855 - ymalik - Fri Feb 11, 2005 3:12 pm

Look here: http://vba.ngemu.com/faq.shtml#cat12_0

GDB runs fine for me. You have to use the SDL version of VBA, though.

#35872 - DecayCell - Fri Feb 11, 2005 7:14 pm

Damn, I'm an idiot. I used the gdb executable instead of the arm-elf-gdb one.

By the way, does anyone know what is the difference between the arm-elf and the arm-thumb-elf targets? Both seem to support Thumb, as DevKitARM is configured with --target=arm-elf.

#36377 - wintermute - Fri Feb 18, 2005 10:54 am

DecayCell wrote:

By the way, does anyone know what is the difference between the arm-elf and the arm-thumb-elf targets? Both seem to support Thumb, as DevKitARM is configured with --target=arm-elf.


nothing.

the middle of the triplet is reserved to allow for vendor specific modifications to the configury, usually for customising newlib.

#37103 - ymalik - Mon Mar 07, 2005 5:13 am

I downloaded DevkitARM, but I don't see gdb anywhere.

#37124 - wintermute - Mon Mar 07, 2005 6:32 pm

Insight has been available on devkit.tk for quite some time

I uploaded it to sourceforge this afternoon though.

http://sourceforge.net/project/showfiles.php?group_id=114505&package_id=146412&release_id=310959