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

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

 



tom <tompotts@xxxxxxxxxxxxxxxxxxxxxx> writes:

> 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 ?

That is very odd.  Adding or removing -ggdb from the command line should
not make any difference to the generated code.  I would recommend
running objdump -d on both executables and look for cases where the code
is different.  Any such case is a gcc bug.

Ian


[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