is it possible to set a hook in exception throwing ?

Jan Pfeifer pfjan@yahoo.com.br
Fri Dec 16 00:11:00 GMT 2005


Many thanks for the pointer Bejamin. Reading through them I see there is
no hook for __cxa_throw, right ? -- meaning I will have to rewrite it,
and link programs against this rewritten version.

Apparently __cxa_begin_catch is called after catch, but then it's too
late to get a backtrace of the moment an exception is thrown.

thanks!

- jan



Benjamin Kosnik wrote:

>>I want to implement (or only change) a backtrace context library for
>>exceptions, and, as far as I see, I need to get a hook into the
>>exception throwing call (__cxx_throw ?).
>>    
>>
>
>__cxa_throw
>__cxa_begin_catch
>
>See:
>http://www.codesourcery.com/cxx-abi/
>
>-benjamin
> 
>
>  
>


	

	
		
_______________________________________________________ 
Yahoo! doce lar. Faça do Yahoo! sua homepage. 
http://br.yahoo.com/homepageset.html 



More information about the Libstdc++ mailing list