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.

Coding > Source files not doing source level debugging in insight/GDB

#54366 - cosmic4z - Sun Sep 18, 2005 8:16 pm

I've got everything set up fine(!) ... only it will show ASSEMBLY and MIXED mores for my .C files ... my .S files can do all modes.

My flags:

ASFLAGS = -gstabs -I $(AGBINC) -mthumb-interwork
CFLAGS = -ggdb -O -I $(AGBINC) -mthumb-interwork -nostdlib
LDFLAGS += -Map $(MAPFILE) -nostartfiles -Ttext 0x08000000 -Tbss 0x03000000 -L $(AGBLIB) -lagbsyscall -lisagbprn

I've had it working before, any ideas what I'm doing wrong?
_________________
Qwak - www.qwak.co.uk | Forum - www.qwak.co.uk/forum/

#54469 - Quirky - Mon Sep 19, 2005 6:57 pm

Are you using Visual Boy Advance? If so, which version? There are some problems with recent versions (of the SDL port at least, version > 1.7). Possible solutions for those are outlined here:

http://forum.gbadev.org/viewtopic.php?t=6155