Re: [Fwd: gdb not finding types ( 10.5 Leopard )]
Re: [Fwd: gdb not finding types ( 10.5 Leopard )]
- Subject: Re: [Fwd: gdb not finding types ( 10.5 Leopard )]
- From: Jonas Maebe <email@hidden>
- Date: Thu, 26 Mar 2009 15:12:16 +0100
On 26 Mar 2009, at 14:40, Rohitash Panda wrote:
You mean recompile all the .c to .o with -gdwarf-2 and the re-link
the executable.
I even compiled the .c files with "-g3 -gdwarf-2 -gfull -O0"
Don't do that. I have no idea to what extend -gfull can be used with -
gdwarf-2. For all I know, it may switch back to stabs. Just use -
gdwarf-2
and relinked the executable ,
but didn't help.Even dwarfdump doesn't report of the symbol .
dwarfdump won't show anything when you run it on the application,
because the DWARF debug info remains in the object files.
Since I first generate .o's and then relink the executable , how am
I supposed to run dsymutil ?
On the generated executable, as shown in my previous mail:
gcc -gdwarf-2 -o myapp ...
dsymutil myapp
It will then extract the debug information from all object files and
put it all together in a single file (under myapp.dSYM/...). This can
sometimes help with visibility issues.
Jonas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden