Re: gdb: "No line number information available for address...." :(
Re: gdb: "No line number information available for address...." :(
- Subject: Re: gdb: "No line number information available for address...." :(
- From: Jerry Krinock <email@hidden>
- Date: Tue, 28 Jul 2009 14:44:21 -0700
On 2009 Jul 28, at 13:46, Jason Molenda wrote:
$ dwarfdump --arch=i386 --debug-line Documents/Programming/Builds/
Shipped/Bookdog_5.3.3/Bookdog.app.dSYM
$ dwarfdump --arch=i386 -r 0 Documents/Programming/Builds/Shipped/
Bookdog_5.3.3/Bookdog.app.dSYM
Maybe the dSYM doesn't contain what you think it contains..
Thanks, Jason. Indeed, dwarfdump thinks that my dSYM is empty:
Jerrys-Mac-Mini:~ jk$ dwarfdump --arch=i386 --debug-line Documents/
Programming/Builds/Shipped/Bookdog_5.3.3/Bookdog.app.dSYM
----------------------------------------------------------------------
File: Documents/Programming/Builds/Shipped/Bookdog_5.3.3/
Bookdog.app.dSYM/Contents/Resources/DWARF/Bookdog (architecture i386)
----------------------------------------------------------------------
.debug_line contents:
< EMPTY >
Jerrys-Mac-Mini:~ jk$ dwarfdump --arch=i386 -r 0 Documents/Programming/
Builds/Shipped/Bookdog_5.3.3/Bookdog.app.dSYM
----------------------------------------------------------------------
File: Documents/Programming/Builds/Shipped/Bookdog_5.3.3/
Bookdog.app.dSYM/Contents/Resources/DWARF/Bookdog (architecture i386)
----------------------------------------------------------------------
.debug_info contents:
< EMPTY >
Jerrys-Mac-Mini:~ jk$
However, the file Bookdog_5.3.3/Bookdog.app.dSYM/Contents/Resources/
DWARF/Bookdog is not empty. It contains 3,251,947 bytes. When I open
it in HexFiend I see lots of hex, including lots of text, and lots of
source file paths.
Here are the relevant settings in my .app Target in Xcode which
generates the dSYM file:
DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
GCC_GENERATE_DEBUGGING_SYMBOLS = YES
GCC_DEBUGGING_SYMBOLS = default
I just tried to do another build. Here's the relevant part of the
Build Transcript:
Building target “Bookdog” of project “Bookdog” with configuration
“Release”
Checking Dependencies
GenerateDSYMFile /Users/jk/Documents/Programming/Builds/Release/
Bookdog.app.dSYM /Users/jk/Documents/Programming/Builds/Release/
Bookdog.app/Contents/MacOS/Bookdog
cd /Users/jk/Documents/Programming/Projects/Bookdog
/Developer/usr/bin/dsymutil /Users/jk/Documents/Programming/
Builds/Release/Bookdog.app/Contents/MacOS/Bookdog -o /Users/jk/
Documents/Programming/Builds/Release/Bookdog.app.dSYM
warning: no debug symbols in executable (-arch i386)
warning: no debug symbols in executable (-arch ppc)
So, it's warning me. Why might GenerateDSYMFile put "no debug symbols
in executable"? And if indeed this is true, what's in those 3,251,947
bytes that it generated? Looks like lots of information to me!
Sincerely,
Jerry Krinock
_______________________________________________
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