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: Jim Ingham <email@hidden>
- Date: Fri, 2 Jun 2006 14:05:02 -0700
Do you use the "Link only Essential Symbols" option when you build
with stabs? That leaves most of the stabs debug information in the .o
files (including the line tables) and carries over only what is
necessary for the debugger to figure out what the linker did. We
didn't teach atos to find the line tables in the .o files for stabs,
however, so atos won't work in this case.
Jim
On Jun 2, 2006, at 1:52 PM, Greg Hurrell wrote:
El 02/06/2006, a las 19:32, Jim Ingham escribió:
The way to tell for sure if a stabs built binary still has debug
information is something like:
nm -ap <Binary> | grep "SO "
If you see lots of file names that you recognize, you've got debug
information. At that point, I have no idea why you aren't getting
line number info. If you don't see this, then somehow it's getting
stripped.
Yes, I see lots of filenames that I recognize...
$ nm -ap App_i386_unstripped | grep "SO " | wc -l
75
It seems clear that the debug info (including line numbers) is
present because gdb can see it. The weird part is why atos can't see
it.
Cheers,
Greg
_______________________________________________
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