Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Intercepting C++ throws
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Intercepting C++ throws



Willard,

That message is for the gcc 2.95 implementation of throw. For gcc3.1 the immediate call is __cxa_throw. But that is not so useful, because you will get a different copy of this in each shared library. Looks like this and the rethrow funnel through _Unwind_RaiseException, which is in libSystem.dylib. So breaking on _Unwind_RaiseException is probably the best choice.

Hope this helps...

Jim

On Tuesday, October 29, 2002, at 12:26 PM, Willard Myers wrote:

Mac OS X 10.2.1, PB 2.0.1

(gdb) catch throw
warning: Unsupported with this platform/compiler combination.
warning: Perhaps you can achieve the effect you want by setting
warning: a breakpoint on __raise_exception().
(gdb) break __raise_exception
Function "__raise_exception" not defined.

Any suggestions? I'm not eager to step through the massive third-party library (OpenCASCADE) to find the site of the throw.

Bill
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.

--
Jim Ingham email@hidden
Developer Tools
Apple Computer
_______________________________________________
projectbuilder-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/projectbuilder-users
Do not post admin requests to the list. They will be ignored.

References: 
 >Intercepting C++ throws (From: Willard Myers <email@hidden>)



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

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.