Breakpoint 1, 0x10001780 in main ()
(gdb) break XListDev.c:83
Breakpoint 2 at 0xf498fe8: file XListDev.c, line 83.
(gdb) bt
#0  0x10001780 in main ()
#1  0x0f5d2d04 in __libc_start_main () from /lib/libc.so.6
(gdb) continue
Continuing.
 
Breakpoint 2, XListInputDevices (dpy=0x10034840, ndevices=0x7ffff5fc)
    at XListDev.c:84
84      XListDev.c: No such file or directory.
        in XListDev.c
(gdb) bt
#0  XListInputDevices (dpy=0x10034840, ndevices=0x7ffff5fc) at XListDev.c:84
#1  0x0fd1d030 in _gdk_input_common_init () from /usr/lib/libgdk-x11-2.0.so.0
#2  0x0fd1dc28 in _gdk_input_init () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x0fcf50e0 in gdk_display_open () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0fcd3978 in gdk_display_open_default_libgtk_only ()
   from /usr/lib/libgdk-x11-2.0.so.0
#5  0x0fe480c8 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#6  0x0fe480fc in gtk_init () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x100017b4 in main ()
#8  0x0f5d2d04 in __libc_start_main () from /lib/libc.so.6
(gdb) break XLockDisplay
Breakpoint 3 at 0xf519b90: file LockDis.c, line 49.
(gdb) break _XLockDisplay
Breakpoint 4 at 0xf5196f4: file locking.c, line 478.
(gdb) break XUnlockDisplay
Breakpoint 5 at 0xf519cb8: file LockDis.c, line 85.
(gdb) break _XUnlockDisplay
Breakpoint 6 at 0xf5192f4: file locking.c, line 237.
(gdb) continue
Continuing.
 
Breakpoint 4, _XLockDisplay (dpy=0x10034840) at locking.c:478
478     locking.c: No such file or directory.
        in locking.c
(gdb) bt
#0  _XLockDisplay (dpy=0x10034840) at locking.c:478
#1  0x0f499480 in XListInputDevices (dpy=0x10034840, ndevices=0x7ffff5fc)
    at XListDev.c:108
#2  0x0fd1d030 in _gdk_input_common_init () from /usr/lib/libgdk-x11-2.0.so.0
#3  0x0fd1dc28 in _gdk_input_init () from /usr/lib/libgdk-x11-2.0.so.0
#4  0x0fcf50e0 in gdk_display_open () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x0fcd3978 in gdk_display_open_default_libgtk_only ()
   from /usr/lib/libgdk-x11-2.0.so.0
#6  0x0fe480c8 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#7  0x0fe480fc in gtk_init () from /usr/lib/libgtk-x11-2.0.so.0
#8  0x100017b4 in main ()
#9  0x0f5d2d04 in __libc_start_main () from /lib/libc.so.6
(gdb) continue
Continuing.
 
Breakpoint 4, _XLockDisplay (dpy=0x10034840) at locking.c:478
478     in locking.c
(gdb) bt
#0  _XLockDisplay (dpy=0x10034840) at locking.c:478
#1  0x0f498238 in XGetExtensionVersion (dpy=0x10034840,
    name=0xf49ba18 "XInputExtension") at XGetVers.c:108
#2  0x0f49adfc in _XiCheckExtInit (dpy=0x10034840, version_index=1)
    at XExtInt.c:198
#3  0x0f499004 in XListInputDevices (dpy=0x10034840, ndevices=0x7ffff5fc)
    at XListDev.c:85
#4  0x0fd1d030 in _gdk_input_common_init () from /usr/lib/libgdk-x11-2.0.so.0
#5  0x0fd1dc28 in _gdk_input_init () from /usr/lib/libgdk-x11-2.0.so.0
#6  0x0fcf50e0 in gdk_display_open () from /usr/lib/libgdk-x11-2.0.so.0
#7  0x0fcd3978 in gdk_display_open_default_libgtk_only ()
   from /usr/lib/libgdk-x11-2.0.so.0
#8  0x0fe480c8 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#9  0x0fe480fc in gtk_init () from /usr/lib/libgtk-x11-2.0.so.0
#10 0x100017b4 in main ()
#11 0x0f5d2d04 in __libc_start_main () from /lib/libc.so.6
(gdb) continue
Continuing.
 
Program received signal SIGINT, Interrupt.
0x0f5e9044 in sigsuspend () from /lib/libc.so.6
(gdb) bt
#0  0x0f5e9044 in sigsuspend () from /lib/libc.so.6
#1  0x0f717adc in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#2  0x0f719c3c in __pthread_alt_lock () from /lib/libpthread.so.0
#3  0x0f71602c in pthread_mutex_lock () from /lib/libpthread.so.0
#4  0x0f519700 in _XLockDisplay (dpy=0x10034840) at locking.c:478
#5  0x0f498238 in XGetExtensionVersion (dpy=0x10034840,
    name=0xf49ba18 "XInputExtension") at XGetVers.c:108
#6  0x0f49adfc in _XiCheckExtInit (dpy=0x10034840, version_index=1)
    at XExtInt.c:198
#7  0x0f499004 in XListInputDevices (dpy=0x10034840, ndevices=0x7ffff5fc)
    at XListDev.c:85
#8  0x0fd1d030 in _gdk_input_common_init () from /usr/lib/libgdk-x11-2.0.so.0
#9  0x0fd1dc28 in _gdk_input_init () from /usr/lib/libgdk-x11-2.0.so.0
#10 0x0fcf50e0 in gdk_display_open () from /usr/lib/libgdk-x11-2.0.so.0
#11 0x0fcd3978 in gdk_display_open_default_libgtk_only ()
   from /usr/lib/libgdk-x11-2.0.so.0
#12 0x0fe480c8 in gtk_init_check () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x0fe480fc in gtk_init () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x100017b4 in main ()
#15 0x0f5d2d04 in __libc_start_main () from /lib/libc.so.6
(gdb)
