On 6/21/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
In the Makefile, "CFLAGS = -g -O2", so it looks like debugging
is turned on. However, when I type "gdb gnubg" and then type
"run --sync", after the crash I get:
Program exited with code 01.
(gdb) backtrace
No stack.
=================
Yes that is because the error kills gnubg rather than causing an
actual crash, so you need to set a breakpoint at gdk_x_error. For that
you need to have the gtk2-debuginfo package installed. On Fedora it is
placed in the debuginfo repository, which is enabled by editing
/etc/yum.repos.d/fedora.repo (the file you need to edit will obviously
have a different name, this can probably be done in a redhat package
management gui tool as well).
Christian.
_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg