• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How to make atos give symbols?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to make atos give symbols?


  • Subject: How to make atos give symbols?
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 28 Jan 2008 17:46:44 -0800

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to make atos give symbols?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Link Error after upgrading to Xcode 2.5
  • Next by Date: Re: Januar Xcode Documentation update always shows TOCs?
  • Previous by thread: Re: Link Error after upgrading to Xcode 2.5
  • Next by thread: Re: How to make atos give symbols?
  • Index(es):
    • Date
    • Thread