site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 26 Mar 2009, at 14:40, Rohitash Panda wrote: and relinked the executable , but didn't help.Even dwarfdump doesn't report of the symbol . On the generated executable, as shown in my previous mail: gcc -gdwarf-2 -o myapp ... dsymutil myapp Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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 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 ? 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. This email sent to site_archiver@lists.apple.com