Skip to content

Ability to load debug info from an external file? #2480

@EvilJagaGenius

Description

@EvilJagaGenius

I work on a fork of the Goomba Color GB/C emulator for GBA and use mGBA to test my builds. However I don't have a good way to debug it. When I compile, I come out with a .gba and .elf file as per normal, and Goomba Color works by concatenating ROMs to the end of the .gba file. When I try to do the same thing and build a test ROM with the .elf file, the emulator doesn't detect any ROMs.

Would it be possible to add a debugger command to load debug info from an external .elf file, like GDB does with its add-symbol-file and symbol-file commands? Then I could build a working test ROM and have all my function/variable names in the debugger too.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions