Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Debugging ! How do I debug GBA programs?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 LeoMaheo   Members   -  Reputation: 122

Like
Likes
Like

Posted 04 June 2002 - 12:24 PM

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 )

Sponsor:

#2 LeoMaheo   Members   -  Reputation: 122

Like
Likes
Like

Posted 13 June 2002 - 03:01 AM

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...

#3 nick316   Members   -  Reputation: 100

Like
Likes
Like

Posted 16 June 2002 - 10:53 AM

.

[edited by - nick316 on June 16, 2002 5:53:45 PM]




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS