Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make atos give symbols?



I have an unreproducible crash report from a Tiger PPC for my stripped Universal Cocoa app. I want the symbol names. So, I go into the release's Contents/MacOS, copy the executable, and run atos on it:

jk$ atos -o MyApp -arch ppc 0x0006fa08 0x000409d8 0x00040b4c 0x0005a2cc
0x0006fa08 (in MyApp)
0x000409d8 (in MyApp)
0x00040b4c (in MyApp)
0x0005a2cc (in MyApp)

Shucks. Looks like I got no results. So, then I try and do it the old way [1], using lipo first to extract the ppc executable:

jk$ lipo -extract ppc MyApp -output MyAppPPC

The original MyApp was 1.4 MB, and this produces a MyAppPPC of 714 KB. Looks good. atos again:

jk$ atos -o MyAppPPC 0x0006fa08 0x000409d8 0x00040b4c 0x0005a2cc
atos cannot load symbols for the file MyAppPPC.

Shucks again.

Any tips on how to make atos give me some answers would be appreciated

Thanks,

Jerry Krinock

Here are some of the Build Settings in the Release target that might be significant:

Architectures: i38 ppc
Base SDK Path : /Developer/SDKs/MacOSX10.4u.sdk
Debug Information Format DWARF
Deployment Postprocessing: YES
Strip Debug symbols During Copy: YES
Strip Linkied Product: YES
Strip Style: All Symbols
Use Separate Strip: NO
Dead Code Stripping: YES
Don't Dead-Strip Inits and Terms: NO
Exported Symbols File: ExporteSymbols.exp
Generate Debug Symbols: NO

[1] http://developer.apple.com/technotes/tn2004/tn2123.html#SECNOSYMBOLS
Note: I just sent feedback on this document, explaining that it is outdated because the atos in Leopard now supports an -arch flag.


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.