Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LeoMaheo

Debugging ! How do I debug GBA programs?

This topic is 5973 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello! Im trying to write a GBA-game. I use the Mappy emulator, but I''ve got no idea of how to do source-level-debugging. How do I compile the .cpp files so Mappy gets some debug information ? I''ve tried with g++ -o main.elf -lm -g main.cpp ml_sprites.cpp objcopy --debugging -O binary main.elf main.gba but this results in : "objcopy: main.elf: no recognized debugging information" I''ve also tried g++ -o main.elf -lm -g -mthumb-interwork main.cpp ml_sprites.cpp objcopy --debugging -O binary main.elf main.gba and "-ggdb" instead of "-g", but nothing works. Can you tell me how I should do to debug my GBA-programs ? How should I compile them? (I use GCC3.0) Thanks (perhaps )

Share this post


Link to post
Share on other sites
Advertisement
Well, I''ve solved the problem now...
I use GDB-Insight and "remote-TCP-link" it to VBA, if someone wants to know. Took a while to find out how to do...

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!