Hi all,
I'm trying to figure out 1) what versions/builds I should be using and
2) how much of gdb should be functional. I'm trying this all out on
windows using a jtag-tiny usb programmer.
I installed the latest binary packages (windows installer) and got my
project to build and load using both gdb and the standalone loader. I
then discovered that 'step' and 'next' don't work from a thread on
this list:
http://sourceforge.net/mailarchive/forum.php?thread_name=1260464634.23619.2.camel%40localhost.localdomain&forum_name=mspgcc-users
This wonderful post mentions the existence of another port of gcc
based on the 4.x series.. yay!
So I downloaded those binaries, and was able to build the project
without incident. However, now execution doesn't stop at breakpoints...
Next I'll try building some of the examples to see if I'm forgetting
some compiler/linker flag, but in the meantime a few questions:
0) I should be able to use breakpoints, right? :)
1) there's no gdb proxy server in the gcc 4.x package so I'm using the
one from the 3.x package.. is that correct?
2) should I forget the pre-built packages and instead be building from
source?
3) when building the 3.x tools from source, is the bazaar repository
the most current?
When continuing after setting a breakpoint, I get this from the proxy:
debug: MSP430_Breakpoint(ADD)
debug: Set breakpoint in BP reg 0 to 0x2810
debug: MSP430_Run()
debug: MSP430_State()
debug: MSP430_State() 1, (-1 steps)
debug: MSP430_State()
debug: MSP430_State() 1, (-1 steps)
debug: MSP430_State()
debug: MSP430_State() 1, (-1 steps)
debug: MSP430_State()
debug: MSP430_State() 1, (-1 steps)
The last two lines just keep repeating.. Any idea what this means?
Is it maybe single-stepping the program?
Any advice much appreciated!
Tyler