Re: dladdr/backtrace_symbols return incorrect symbol names
Re: dladdr/backtrace_symbols return incorrect symbol names
- Subject: Re: dladdr/backtrace_symbols return incorrect symbol names
- From: Peter O'Gorman <email@hidden>
- Date: Tue, 24 Mar 2009 12:59:09 -0500
Ethan Tira-Thompson wrote:
> returned __ZSt4acosf, and one-past the intended __ZN9TraceTest7DoStartEv:
>
> 00083566 T __ZSt4acosf [returned symbol]
> 00083580 t __ZThn12_N13ArmGrabTarget12processEventERK9EventBase
> 0008358a t __ZN13ArmGrabTarget12processEventERK9EventBase
> 00084196 t __ZN19GroundPlaneBehavior7DoStartEv
> 0008424e t __ZN11EventRouter11removeTimerEPK13EventListenerR9EventBase
> 000842a4 t __ZThn12_N19GroundPlaneBehavior12processEventERK9EventBase
> 000842ae t __ZN19GroundPlaneBehavior12processEventERK9EventBase
> 00085216 t __ZN9TraceTest7DoStartEv [correct symbol]
> [00085273 target address here]
> 0008551c t __ZL7isasciii
>
dladdr returns the nearest lower global symbol. The only global symbol
in this list is __ZSt4acosf.
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
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