Re: Stack trace recoding on Mac OS X Leopard ( 10.5 )
Re: Stack trace recoding on Mac OS X Leopard ( 10.5 )
- Subject: Re: Stack trace recoding on Mac OS X Leopard ( 10.5 )
- From: "James Peach" <email@hidden>
- Date: Fri, 22 Aug 2008 11:34:28 -0700
2008/8/22 Rohitash <email@hidden>:
> Hi,
> I was exploring of some interfaces in Mac OS X if present , which might
> help me get a call backtrace which I want to record for some specific
> internal exception conditions . If some kind of unwind library is already
> available for use , that would really help simplify my task .
>
> I am not sure if the BSD library backtrace() and friends should be able to
> help me walk through all the stack frames and provide me with the arguments
> , parameters and the translated
> PC ( to symbolic names ) at any point I want to get a trace the call stack.
yes, backtrace(3) will do this
--
James Peach | email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden