• 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
Re: No symbols in DSYM file? [SOLVED]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No symbols in DSYM file? [SOLVED]


  • Subject: Re: No symbols in DSYM file? [SOLVED]
  • From: Antonio Nunes <email@hidden>
  • Date: Sat, 16 Feb 2008 12:35:27 +0100

On Feb 16, 2008, at 9:42 AM, Nick Zitzmann wrote:

Hmmm, spoke too soon: Having removed the -s option in the other linker flags, and switched on the two options mentioned above, the symbols are _not_ stripped in the final linked product. How do I make sure my app goes out into the world without symbols, but such that I can later make sense of crash reports?

Turn on DWARF with dSYM, debugging symbols, and deployment postprocessing.

Great. Deployment postprocessing was off. Now it's on.

I get a stripped product and a valid dSYM file. However, as Rick said earlier:
Also note that atos in Leopard doesn't retrieve symbol names from dSYMs, only the source line information

Indeed. No good then. So off into new GDB territory:
-Apparently the syntax to use is "list *<adress>"
-Since I'm on Intel and the address to translate is from PPC I start GDB in the terminal providing the desired -arch selector:


gdb -arch ppc /Users/foo/Documents/Xcode\ Projects/builds/Beta\ Release/SomeApp.app

Excellent:
This GDB was configured as "--host=i386-apple-darwin --target=powerpc- apple-darwin"...
Reading symbols for shared libraries ............. done


(gdb) list *0x00039410
0x39410 is in -[SomeClass someMethod] (someFile:someLine)
...listing of surrounding lines of code...

It's al there! Happy bunny here. :-)

Thanks Nick.

-António

----------------------------------------------------
There is nothing as strong as real gentleness, and
there is nothing as gentle as real strength.
----------------------------------------------------




_______________________________________________ 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:
    • Creating an iTunes Plug-in
      • From: "J. Todd Slack" <email@hidden>
References: 
 >No symbols in DSYM file? (From: Antonio Nunes <email@hidden>)
 >Re: No symbols in DSYM file? (From: Rick Altherr <email@hidden>)
 >Re: No symbols in DSYM file? (From: Antonio Nunes <email@hidden>)
 >Re: No symbols in DSYM file? (From: Antonio Nunes <email@hidden>)
 >Re: No symbols in DSYM file? (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: [OT] Time Machine vs 10.5.2
  • Next by Date: Creating an iTunes Plug-in
  • Previous by thread: Re: No symbols in DSYM file?
  • Next by thread: Creating an iTunes Plug-in
  • Index(es):
    • Date
    • Thread