Anywhere I put the breakpoint, same thing happens - gdb isn't catching
the SIGTRAP (I assume it's a SIGTRAP) from hitting the breakpoint, so
the program dies with a BPT. I have no clue why this is. There's a
post (about Xcode debugging problems) at
"gdb only inserts one instruction, which generates a EXC_BREAKPOINT
exception. If you are running under the debugger you will see this or
a SIGTRAP. If you are seeing this exception where you haven't set a
breakpoint, please report it as a bug. I found (and fixed) one case
where we were leaving a breakpoint in place when we shouldn't (when you
set two "future-breakpoints" at the same location that don't end up
resolving when the app first loads). If there are other cases, I can
probably fix them pretty easily, but only if I can reproduce the
case..."
Can anyone tell me why gdb isn't catching this exception? If I
write simple "Hello, world!" test programs that don't link to a
shared custom .dynlib (like the one in this case), breakpoints
in gdb work just fine ...
Thanks in advance,
- Greg Earle
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden