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: Ethan Tira-Thompson <email@hidden>
- Date: Tue, 24 Mar 2009 13:44:14 -0400
If so, how can I force all my symbols to be external/dynamic
Doing a little more research, on linux there's a -rdynamic gcc flag
which puts all symbols in the dynamic section of the executable... its
usage is explicitly suggested on the backtrace man page so that
backtrace_symbols (and dladdr) can do lookups.
Unfortunately, there doesn't appear to be -rdynamic for the Mac
version of gcc... :-/
-Ethan
_______________________________________________
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