Re: DWARF format and stripping
Re: DWARF format and stripping
- Subject: Re: DWARF format and stripping
- From: "Shawn Erickson" <email@hidden>
- Date: Wed, 31 May 2006 15:39:58 -0700
On 5/31/06, Jason Molenda <email@hidden> wrote:
You may be able to jury-rig gdb to do what you need -- gdb being one of
the few utilities on the system that understand dSYM files right now.
e.g. given an address 0x1234, you can run gdb on the dSYM file and
type "info line *0x1234" to get the source line information. A
concrete example given an address of 0x2696 from a crashdump of gdb-
i386-apple-darwin:
% echo 'info line *0x2696' > /tmp/gdbcmds
% gdb --batch --quiet -x /tmp/gdbcmds gdb-i386-apple-darwin.dSYM/
Contents/Resources/DWARF/gdb-i386-apple-darwin
Line 28 of "/tmp/gdb.roots/gdb/src/gdb/gdb.c" starts at address 0x2696
<main> and ends at 0x269d <main+7>.
Ah thanks for that... I may work out a script based on your example to
do this in bulk based on data from a crash reporter log. Really not
that bad compared to atos... it may be a workable solution for us.
-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