Hello,

i could not get the msp430-gdb debugger running with eclipse.

I have installed Eclipse 3.0.1 + CDT 2.1.0 +  net.sf.mspgcc.zip
I'm able to compile my test program and create an .elf output file.
Loading the .elf file directly with msp430-gdb works fine.
So my msp430-gdbproxy is working.

I have made the setup for debugging in eclipse (msp430-gdb, gdb-target.ini, ...)

Before debugging from eclipse, i have startet "msp430-gdbproxy.exe --port=3333 
msp430" from the windows start menue.
msp430-gdbproxy gives the following returns:
info:   msp430: Target device is a 'MSP430F169' (type37)
notice: msp430gdbproxy: waiting on TCP port 3333

When i start debugging from eclipse i get the following message:
Unable to set temporary breakpoints in main.
Reason: Target request failed: No registers..
Continue?
When i press Yes i get the message:
Execution is suspended because of errors.
And in the console of eclipse i get the message:
Don't know how to run.  Try "help target".

But msp430-gdbproxy gives the message:
notice: msp430gdbproxy: connected

I think my problem is located in the configuration of the debugger in eclipse.
Is my .elf file not properly loaded to the target?
Can somebody help me to get it running?
Where must the file "gdb-target.ini" be located (at the moment it is in the 
"debug" directory of my project).
What else must i consider to setup the debugger?


Best regards,
Florian


Reply via email to