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.
