I am using the same gdb settings as you are. In earlier versions of the eclipse / mspgcc everything including "run to line" used to work alright though I do not remember which earlier version and whose earlier version (eclipse or mspgcc). At the moment I have following configuration on two systems and they both give the same problem,
Eclipse ver: 3.2.0 CDT plugin: 3.1.0 Mspgcc plugin: 0.0.2 Mspgcc dated: mspgcc-20070216 Can you share the configuration of your eclipse and mspgcc environment? Regards, Shoaib -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Pettit Sent: 20 March 2007 15:14 To: 'GCC for MSP430 - http://mspgcc.sf.net' Subject: Re: [Mspgcc-users] eclipse, mspgcc-gdb, sigint I don't have the problem you describe. I can resume and suspend my program from Eclipse without fail even when there are no breakpoints set. Here are my gdb settings: target remote localhost:3333 set remoteaddresssize 64 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 monitor erase all load leds.elf However, if I right click and choose "run to line" on a line in the main loop while I'm inside a function I get the following warning: "Warning: Cannot insert breakpoint 0. Error accessing memory address 0xXXXX: (undocumented errno -1)." I also get the same warning if I have a breakpoint set on a line in the main loop and try to enter a function. David > I am having trouble getting the Eclipse and gdb to work together in > harmony. > Everything works fine except that if I run the programme without any > breakpoints I cannot regain control and eventually have to kill the > gdb-proxy using ctrl-c and restart the whole debugging session. I have > tried > the gdb command line interface and the same thing works alright so it is > something in between Eclipse and gdb that's not working well. > It is the same problem that Chris had (see a portion of his email below), > I > wonder if he had any luck fixing it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users
