Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gdb and mach exceptions



Hello All, I have a simple but still unsolved problem
involving the interaction of the EXC_BAD_ACCESS
exception and gdb: I can't figure out how to get gdb
to pass the exception to my signal handler. 

My test program works fine if I send a SIGUSR1 -- gdb
passes the signal to my program and I get a breakpoint
in the signal handler.  The test program works as
expected w/o gdb -- the EXC_BAD_ACCESS invokes my
sigaction handler. But provoking a EXC_BAD_ACCESS
within gdb stalls on the offending code.

I'm curious if there is analagous gdb command "handle
SIGUSR1 nostop" for EXC_BAD_ACCESS? Is there a
different way from sigaction() to specify how to
handle the EXC_BAD_ACCESS exception?

thanks in advance for your help,
cheers, Brendan Creane
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.