Duncan wrote:

> On Mon, 21 Aug 2006 18:01:18 -0400, Douglas Bollinger wrote:

>> Does having my entire system (and espcially the gtk libs) compiled with
>> -fomit-frame-pointer pretty much render my system useless for debugging?
>
> That's what I've read, yes.  OTOH, man gcc says that -fomit-frame-pointer
> is automatically enabled by any level of -O (optimization), so this makes
> the whole subject a bit confusing.
>
> My guess is that re-compiling your gtk package with -g added to your
> CFLAGS variable might give you a better-looking backtrace.  It should
> only take a few minutes to find out, anyway.

Yes, IIRC there's a configure option to glib/atk/pango/gtk that you can
use to turn on debugging symbols.

Duncan is absolutely right about -g, though I'd go further and recommend
adding -ggdb3 to your CFLAGS before compiling glib/atk/pango/gtk/gmime.

Likewise I'd add -ggdb3 to your CXXFLAGS before compiling Pan.
For Pan + gcc 4.x I use: % CXXFLAGS="-ggdb3 -Os -Wall" ./configure,
and replace "-Os" with "-O" for older gcc's or when using valgrind.



_______________________________________________
Pan-users mailing list
Pan-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/pan-users

Reply via email to