Re: Generating a symbol-file for a release version.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/11/10 10:07, Cedric Roux wrote:
On 11/05/2010 10:58 AM, tom wrote:
I have a program that segfaults when built in release mode but not when -ggdb is used. I've tried stripping the executable of debug data but I just cant get it to fail in the same way.

Is there any way of building the whole project for release and generating a symbol-file I can use with gdb to backtrace the core dump ?
Tom

what are the command lines?
is -ggdb the only difference?

Often, bugs pop up with optimization enabled (-O2 for example).
You can try the exact release command line but with an added -ggdb
and see if you can gdb the thing.

HTH
Cédric.


Everything is identical apart from the -ggdb.
Tom


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux