Re: Regarding atos and arch
Re: Regarding atos and arch
- Subject: Re: Regarding atos and arch
- From: "Shawn Erickson" <email@hidden>
- Date: Tue, 19 Sep 2006 13:47:10 -0700
On 9/19/06, Lyndsey Ferguson <email@hidden> wrote:
I have written a nice python script to convert a crash log without symbols
into one with symbols. However, it cannot convert a crash log generated on a
PowerPC on a Intel computer even if the Symbol full binary is Universal.
atos no longer seems to support the -arch option. Has anyone found a way
around this? According to this June 19, 1998 manpage:
http://developer.apple.com/documentation/Darwin/Reference/Manpages/man1/atos.1.html
The arch option exists. However, I am guessing that this Feburary 28, 2006
Tech Note
http://developer.apple.com/technotes/tn2004/tn2123.html
Is more accurate. Has anyone found a better solution than running back and
forth between a PowerPC and Intel Macintosh computer?
I assume you noted the work around outlined in the tech note...
"IMPORTANT: atos does not currently support a -arch command line
option; for a universal binary, it always works with the current
architecture (r. 4086505). Until this limitation is lifted, if you
need to do cross-architecture address-to-symbol mapping, the best
approach is to use lipo to extract a temporary copy of the code for
the relevant architecture, and then run atos against that."
As a warning... at this time atos doesn't support DWARF or DWARF with
dsym. Instead you need to use gdb to symbolize backtraces, etc.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden