Re: DWARF format and stripping (addresses to symbols + line numbers)
Re: DWARF format and stripping (addresses to symbols + line numbers)
- Subject: Re: DWARF format and stripping (addresses to symbols + line numbers)
- From: Greg Hurrell <email@hidden>
- Date: Fri, 2 Jun 2006 16:19:48 +0200
El 01/06/2006, a las 2:22, Jason Molenda escribió:
If your pre-stripped release binary was built with debug symbols
(stabs for now), atos can do the same. You may be building your
release build without debug symbols - in which case neither gdb nor
atos can do much more than function names.
Interesting... When I run atos I definitely *don't* get line number
information:
$ atos -arch i386 -o App_i386_unstripped 0x000d77c
-[GHController handleNotification:] (in App_i386_unstripped)
But I am definitely building my release build with full symbols and
keeping an unstripped copy lying around which *does* produce line
numbers using the gdb method that you described:
$ echo 'info line *0xd77c' > /tmp/gdbcmds
$ gdb --batch --quiet -x /tmp/gdbcmds App_i386_unstripped
Line 1253 of "/Users/ghurrell/work/App/trunk/GHController.m" starts
at address 0xd77c <-[GHController handleNotification:]> and ends at
0xd794 <-[GHController handleNotification:]+24>.
Cheers,
Greg
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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