Hi,

make sure you have the "load" command correct in the "gdb-target.ini" file
it must point to the compiled binary file. In the debugger configuration
window in the Debugger tab enter the location of your "gdb-target.ini" next
to "GDB command file:".
My gdb-target.ini file is in the same dir as my code and my file look like
this.

ta re :3333
set remoteaddresssize 16
set remotetimeout 999999
set download-write-size 512
set remote memory-write-packet-size 512
set remote memory-write-packet-size fixed
set remote memory-read-packet-size 512
set remote memory-read-packet-size fixed
mon erase
load Debug\rfid125

I have selected the "mspgcc GDB Debugger" as the debugger.

hope this help



-----Original Message-----
From: [email protected]
[mailto:[email protected]]on Behalf Of Florian
Sent: 21 January 2005 03:19 PM
To: [email protected]
Subject: [Mspgcc-users] Could not get msp430-gdb running with Eclipse


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



-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users


Reply via email to