#38067 - Quirky - Mon Mar 21, 2005 12:26 pm
I'm having some problems getting the recent versions of VisualBoyAdvance to debug. I'm using GNU/Linux witht the Insight/GBD 6.1 and compiling my arm elf files with with devkitARM r11. Up to VBA 1.7, everything works fine, but with 1.7.1 it fails to load any symbols for the built in debugger, and with 1.7.2 it fails to hit any breakpoints.
I haven't been able to use the -Gpipe method, gdb tells me that it but using tcp works in 1.7 as follows:
Then I connect to target on port 55555, and I can debug to my hearts content. The same thing works on 1.7.1, but the built in debugger (which seems to be the only way to debug assembler) doesn't run. In 1.7.2 , the debugger starts at _start, but then if I place a breakpoint at main, it is never reached. In fact, the screen remains white, the same as when a broken rom is loaded.
Is this a bug in VBA or perhaps the devkitARM elf files are different to earlier elfs or perhaps it's something else that I've overlooked? If a bug in VBA, I find it hard to believe that it hasn't been mentioned earlier, 1.7.2 has been out for a good few months, or is it that no one uses the debugging?
[/code]
I haven't been able to use the -Gpipe method, gdb tells me that it but using tcp works in 1.7 as follows:
Code: |
> VisualBoyAdvance-1.7 mygame.elf -Gtcp Listening for a connection at port 55555 > arm-thumb-elf-insight mygame.elf |
Then I connect to target on port 55555, and I can debug to my hearts content. The same thing works on 1.7.1, but the built in debugger (which seems to be the only way to debug assembler) doesn't run. In 1.7.2 , the debugger starts at _start, but then if I place a breakpoint at main, it is never reached. In fact, the screen remains white, the same as when a broken rom is loaded.
Is this a bug in VBA or perhaps the devkitARM elf files are different to earlier elfs or perhaps it's something else that I've overlooked? If a bug in VBA, I find it hard to believe that it hasn't been mentioned earlier, 1.7.2 has been out for a good few months, or is it that no one uses the debugging?
[/code]