$ gdb gedit
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gedit...(no debugging symbols found)...done.
(gdb) break gdk_error_trap_pop_internal
Function "gdk_error_trap_pop_internal" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_error_trap_pop_internal) pending.
(gdb) run
Starting program: /usr/bin/gedit
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffee41f700 (LWP 19817)]
[New Thread 0x7fffe7fff700 (LWP 19818)]
[New Thread 0x7fffe77fe700 (LWP 19819)]
[New Thread 0x7fffde6b6700 (LWP 19822)]
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
And on leafpad:
$ gdb leafpad
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/leafpad...(no debugging symbols found)...done.
(gdb) break gdk_error_trap_pop_internal
Function "gdk_error_trap_pop_internal" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_error_trap_pop_internal) pending.
(gdb) run
Starting program: /usr/bin/leafpad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef61a700 (LWP 20029)]
[New Thread 0x7fffee7e5700 (LWP 20030)]
[New Thread 0x7fffedfe4700 (LWP 20031)]
Here is gdb output on gedit
$ gdb gedit gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>... gedit.. .(no debugging symbols found)...done. trap_pop_ internal trap_pop_ internal" not defined. trap_pop_ internal) pending. 64-linux- gnu/libthread_ db.so.1" .
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) break gdk_error_
Function "gdk_error_
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_error_
(gdb) run
Starting program: /usr/bin/gedit
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7fffee41f700 (LWP 19817)]
[New Thread 0x7fffe7fff700 (LWP 19818)]
[New Thread 0x7fffe77fe700 (LWP 19819)]
[New Thread 0x7fffde6b6700 (LWP 19822)]
(gedit:19814): Gtk-CRITICAL **: gtk_list_ store_set_ column_ types: assertion `priv-> columns_ dirty == 0' failed
(gedit:19814): Gdk-CRITICAL **: gdk_error_ trap_pop_ internal: assertion `trap != NULL' failed
[New Thread 0x7fffd1445700 (LWP 19894)]
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ---
And on leafpad:
$ gdb leafpad gnu.org/ licenses/ gpl.html> www.gnu. org/software/ gdb/bugs/>... leafpad. ..(no debugging symbols found)...done. trap_pop_ internal trap_pop_ internal" not defined. trap_pop_ internal) pending. 64-linux- gnu/libthread_ db.so.1" .
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://
Reading symbols from /usr/bin/
(gdb) break gdk_error_
Function "gdk_error_
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_error_
(gdb) run
Starting program: /usr/bin/leafpad
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7fffef61a700 (LWP 20029)]
[New Thread 0x7fffee7e5700 (LWP 20030)]
[New Thread 0x7fffedfe4700 (LWP 20031)]
(leafpad:20026): Gdk-CRITICAL **: IA__gdk_ error_trap_ pop: assertion `gdk_error_traps != NULL' failed
[New Thread 0x7fffd4738700 (LWP 20034)]