site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com The following will work, but it's not ideal: ======= #include <signal.h> #include <stdio.h> void sig_abort(int sig) { printf("Application has been abort\n"); abort(); } Very true. -- Terry _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... On Nov 27, 2007, at 4:36 PM, Jim Magee wrote: On Nov 27, 2007, at 5:42 PM, Terry Lambert wrote: ... It's not ideal because you can't really rethrow the abort with the same stack, you will always show as being in the trap handler (the stack for a crash report looks something like this (on a PPC): It's also not ideal because printf() is not signal-handler-safe. ;-) This email sent to site_archiver@lists.apple.com