• 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: DWARF format and stripping (addresses to symbols + line numbers)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: DWARF format and stripping (addresses to symbols + line numbers)
      • From: "Shawn Erickson" <email@hidden>
  • Prev by Date: Re: Little problem after update to 2.3
  • Next by Date: Re: Any way to bind command-option-W to "close all windows"?
  • Previous by thread: Re: Versioning
  • Next by thread: Re: DWARF format and stripping (addresses to symbols + line numbers)
  • Index(es):
    • Date
    • Thread