From: Fabian S. <fab...@gm...> - 2006-08-31 09:30:32
|
Hello everybody, I'd like to use VBA for the exercise of a lecture, a small real-time operating system should be developed with the VBA, therefore I'd also like to use the builtin GDB-stub. Unfortunately I was not able to do this successfully up to now. Connecting to the emulator, loading the application to the emulator and instruction steps works fine, but I was not able to successfully set a breakpoint at a source line and halt there. When I try this VBA just runs over the breakpoint and when I try to interrupt the emulator it is not possible to e.g. view the registers any more. I'm quite sure the particular soure line is reached, as it is also reached, whe I step there instruction by instruction. I'm using arm-elf-gdb version 6.4 for debugging: GNU gdb 6.4 Copyright 2005 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf". and I invoke VBA like this: VisualBoyAdvance -Gtcp:10465 when setting breakpoints VBA produces messages like this: Unknown packet pf#d6 Unknown packet vCont?#49 I guess these messages indicate the problem, don't they? Has the GDB remote protocol evolved somehow, while the VBA GDB stub has not? Thanks in advance - any hints are appreciated! Ciao, Fabian |