This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Minimum debug options?
On Sat, Mar 16, 2013 at 1:51 AM, Raymond Jennings <shentino@gmail.com> wrote:
> What is the minimum debug level/options I need to compile a shared
> library with enough debug info to allow gdb to produce a stack trace?
>
> I would like to go all the way up to -ggdb3 but unfortunately
> webkit-gtk just broke the 32-bit barrier with that option and became
> uncompilable.
You also might consider -fno-omit-frame-pointer.
Jeff