tycho@ticky:~$ debugapp GWorkspace
GNU gdb 6.6-debian
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License,
and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i486-linux-gnu"...
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.
1".
(gdb) b XGErrorHandler
Function "XGErrorHandler" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (XGErrorHandler) pending.
(gdb) run
Starting program:
/home/tycho/GNUstep/System/Applications/GWorkspace.app/GWorkspace
[Thread debugging using libthread_db enabled]
[New Thread -1221323088 (LWP 6528)]
Breakpoint 2 at 0xb7125d7c: file XGServerEvent.m, line 125.
Pending breakpoint "XGErrorHandler" resolved
[Switching to Thread -1221323088 (LWP 6528)]
Breakpoint 2, XGErrorHandler (display=0x829d2d8, err=0xbfa7fbc8)
at XGServerEvent.m:125
125 XGServerEvent.m: No such file or directory.
in XGServerEvent.m
(gdb) backtrace
#0 XGErrorHandler (display=0x829d2d8, err=0xbfa7fbc8) at
XGServerEvent.m:125
#1 0xb6f31bfa in _XError () from /usr/lib/libX11.so.6
#2 0xb6f336c4 in _XReply () from /usr/lib/libX11.so.6
#3 0xb6f2d5da in XSync () from /usr/lib/libX11.so.6
#4 0xb713e8ee in +[XWindowBuffer windowBufferForWindow:depthInfo:] (
self=0xb7165d80, _cmd=0xb71694b8, awindow=0x82aa0b0,
aDI=0xbfa7fd60)
at XWindowBuffer.m:343