Hi Christo, thank you for your help.
The debugger is now running. Breakpoints work. Step into works also. When stepping into or step over in something like this the debugger hangs up: for(i=0;i<4000;i++); Does the debugger performs single stepping in the loop and therefore needs very much time or is it realy hanging up? I am also not able to suspend or terminate in such a situation. Only restarting the proxy and the debugger helps. Restart generally produces an error. When i launch a restart, then a dialog box comes up: "Execution is suspended because of error" msp430-gdbproxy output messages: "error: msp430: Could not find device (or device not supported) (4)" "info: msp430-gdbproxy.exe: session killed. Will wait for new connection" "info: msp430: Target device is a 'MSP430F169' (type 37)" "notice: msp430gdbproxy.exe: waiting on TCP port 3333" "notice: msp430gdbproxy.exe: connected" When i then press the debug button in eclipse debugging is starting again. (But i think restart should restart the application without an error.) Do you have any hints what functions are working with the debugger and where i must be aware of? P.S. Is it possible configure the debug view to see more icons for debugging (e.g. "Run to line"). Regards, Florian
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 ------------------------------------------------------- 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
