Re: No symbols in DSYM file? [SOLVED]
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