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 > ASM code and symbols in VBA's internal debugger

#142 - zeuhl - Fri Jan 03, 2003 9:57 pm

hi !

My development tools are the GNU assembler and VisualBoyAdvance-SDL for Linux.

When assembling code into an .elf executable file, I guess it should be possible to declare symbols in order easily place breakpoints in VBA's debugger. My problem is that even when I declare global labels, no symbols are listed in the debugger ("symbols" command).

Can anybody help ?

thanks in advance.

#161 - imikeyi - Sat Jan 04, 2003 2:45 am

After you compile with the gnu tools, you end up with an elf file, but VBA isn't going to run an elf file. So you must use objcopy to remove the elf-ness ;) from the file. And I'm pretty sure this removes any symbols.

#325 - zeuhl - Mon Jan 06, 2003 11:22 am

imikeyi wrote:
After you compile with the gnu tools, you end up with an elf file, but VBA isn't going to run an elf file. So you must use objcopy to remove the elf-ness ;) from the file. And I'm pretty sure this removes any symbols.


VisualBoyAdvance does handle ELF files. Moreover, its internal debugger is supposed to handle symbols. Hence my question about symbols.