#5742 - mpowell - Wed May 07, 2003 10:05 pm
I just installed a fresh version of DevKitAdv, Insight arm-gdb, and VisualBoyAdvance.
I just for the life of me can't get debugging going with them.
I compiled with gcc -g option to get debugging info in the elf file. (my .elf file and .bin file run fine on VBA)
I launch VisualBoyAdvance.exe, then select Tools\GDB\Load and Wait, pick my .bin file. Port to wait on 55555. OK. It sits with a dialog box "Waiting for connection on port: 55555"
I launch arm-gdb.exe, File Open the .elf file. Int Main () function comes up from my source. I click the console button. Type target remote 127.1.1.0:55555 and I get the following in the command shell
(gdb) target remote 127.1.1.0:55555
Remote debugging using 127.1.1.0:55555
0x08000000 in _start ()
(gdb)
The VBA dialog box goes away. It's menu bar goes all white. And it says (Not Responding) in the title bar.
Is this just really slow and I'm not being patient enough? Or am I doing something wrong or not doing something?
I've read that you should start VisualBoyAdvance with the -Gtcp:55555 option but when I type
VisualBoyAdvance -Gtcp:55555 pb.elf
It complains that -Gtcp:55555 is not a supported file type.
And when I type
VisualBoyAdvance pb.elf -Gtcp:55555
The VBA comes up with a white menu, grey screen, and once I click on the window (Not Responding) comes up in it's title bar.
Does anyone have any ideas?
I just for the life of me can't get debugging going with them.
I compiled with gcc -g option to get debugging info in the elf file. (my .elf file and .bin file run fine on VBA)
I launch VisualBoyAdvance.exe, then select Tools\GDB\Load and Wait, pick my .bin file. Port to wait on 55555. OK. It sits with a dialog box "Waiting for connection on port: 55555"
I launch arm-gdb.exe, File Open the .elf file. Int Main () function comes up from my source. I click the console button. Type target remote 127.1.1.0:55555 and I get the following in the command shell
(gdb) target remote 127.1.1.0:55555
Remote debugging using 127.1.1.0:55555
0x08000000 in _start ()
(gdb)
The VBA dialog box goes away. It's menu bar goes all white. And it says (Not Responding) in the title bar.
Is this just really slow and I'm not being patient enough? Or am I doing something wrong or not doing something?
I've read that you should start VisualBoyAdvance with the -Gtcp:55555 option but when I type
VisualBoyAdvance -Gtcp:55555 pb.elf
It complains that -Gtcp:55555 is not a supported file type.
And when I type
VisualBoyAdvance pb.elf -Gtcp:55555
The VBA comes up with a white menu, grey screen, and once I click on the window (Not Responding) comes up in it's title bar.
Does anyone have any ideas?