Re: dladdr/backtrace_symbols return incorrect symbol names
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com User-agent: Thunderbird 2.0.0.19 (X11/20090105) 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 (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com
participants (1)
-
Peter O'Gorman