Hello I've been using gcc/prc-tools/gdb + pilrc happily for ages. But recently, I've been unable to debug my program properly.
When I use gdb, it complains about "Too many break points, break point not installed". At first I thought it was because I'd fiddled with the makefile. I've gone back to previous versions which I'm sure I had properly debugging, but they get this error too. So I think I've messed with my environment. Below is my session with gdb. I'm not a big expert on using gdb, but I usually set break points on suspicious functions, continue execution to that break point, then step and examine variable values there to see what's going on. So before I re-install my prc-tools stuff, has anyone come across this problem ? BASH.EXE-2.02$ m68k-palmos-gdb reflector GNU gdb 4.18 Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-pc-cygwin32 --target=m68k-palmos"... (gdb) target pilot localhost:2000 Remote debugging under PalmOS using localhost:2000 Waiting... (Press Ctrl-C to connect to halted machine) Program received signal SIGTRAP, Trace/breakpoint trap. PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142) at reflector.c:2024 2024 Err error = errNone; (gdb) br HandlePenDown Breakpoint 1 at 0x4c422: file reflector.c, line 1722. (gdb) c Continuing. Too many break points, break point not installed Cannot insert breakpoint 1: Error accessing memory address 0x4c422: Not owner. (gdb) s Too many break points, break point not installed Cannot insert breakpoint 1: Error accessing memory address 0x4c422: Not owner. (gdb) bt #0 PilotMain (cmd=0, cmdPBP=0x0, launchFlags=142) at reflector.c:2026 #1 0x49776 in start () (gdb) Thanks Matt West. -- _______________________________________________ Sign-up for your own FREE Personalized E-mail at Mail.com http://www.mail.com/?sr=signup 1 cent a minute calls anywhere in the U.S.! http://www.getpennytalk.com/cgi-bin/adforward.cgi?p_key=RG9853KJ&url=http://www.getpennytalk.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
