Creating a Backtrace with GDB\Backtrace: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | - | ||
| 2 | - | ||
| 3 | - | ||
| 4 | - | ||
| 5 | - | ||
| 6 | - | ||
| 7 | - | ||
| 8 | - | ||
| 9 | - | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 14 | - | ||
| 15 | - | ||
| 16 | - | ||
| 17 | - | ||
| 18 | - | ||
| 19 | - | ||
| 20 | - | ||
| 21 | - | ||
| 22 | - | ||
| 23 | - | ||
| 24 | - | ||
| 25 | - | ||
| 26 | - | ||
| 27 | - | ||
| 28 | - | ||
| 29 | - | ||
| 30 | - | ||
| 31 | - | ||
| 32 | - | ||
| 33 | - | ||
| 34 | - | ||
| 35 | - | ||
| 36 | - | ||
| 37 | - | ||
| 38 | - | ||
| 39 | - | ||
| 40 | - | ||
| 41 | - | ||
| 42 | - | ||
| 43 | - | ||
| 1 | + | ```text | |
| 2 | + | (gdb) bt | |
| 3 | + | #0 0x080733aa in TFORM1__BUTTON1CLICK (SENDER=0x403d8bd8, this=0x403d77d8) at unit1.pas:36 | |
| 4 | + | #1 0x080ecd78 in TCONTROL__CLICK (this=0x403d8bd8) at control.inc:1768 | |
| 5 | + | #2 0x081274bd in TBUTTONCONTROL__CLICK (this=0x403d8bd8) at buttoncontrol.inc:57 | |
| 6 | + | #3 0x08129171 in TCUSTOMBUTTON__CLICK (this=0x403d8bd8) at buttons.inc:186 | |
| 7 | + | #4 0x08129198 in TCUSTOMBUTTON__WMDEFAULTCLICKED (MESSAGE= | |
| 8 | + | {MSG = 1031, WPARAM = 136821192, LPARAM = -1073747812, RESULT = 1075866658, WPARAMLO = 47560, WPARAMHI = 2087, LPARAMLO = 59548, LPARAMHI = 49151, RESULTLO = 27682, RESULTHI = 16416}, this=0x403d8bd8) at buttons.inc:198 | |
| 9 | + | #5 0x0805bbf7 in SYSTEM_TOBJECT_$__DISPATCH$formal () | |
| 10 | + | #6 0x080ec6e0 in TCONTROL__WNDPROC (THEMESSAGE= | |
| 11 | + | {MSG = 1031, WPARAM = 136821192, LPARAM = -1073747812, RESULT = 1075866658, WPARAMLO = 47560, WPARAMHI = 2087, LPARAMLO = 59548, LPARAMHI = 49151, RESULTLO = 27682, RESULTHI = 16416}, this=0x403d8bd8) at control.inc:1447 | |
| 12 | + | #7 0x080e4ed9 in TWINCONTROL__WNDPROC (MESSAGE= | |
| 13 | + | {MSG = 1031, WPARAM = 136821192, LPARAM = -1073747812, RESULT = 1075866658, WPARAMLO = 47560, WPARAMHI = 2087, LPARAMLO = 59548, LPARAMHI = 49151, RESULTLO = 27682, RESULTHI = 16416}, this=0x403d8bd8) at wincontrol.inc:2154 | |
| 14 | + | #8 0x08161955 in DELIVERMESSAGE (TARGET=0x403d8bd8, AMESSAGE=void) at gtkproc.inc:3242 | |
| 15 | + | #9 0x0818897c in GTKWSBUTTON_CLICKED (AWIDGET=0x8285380, AINFO=0x40453794) at gtkwsbuttons.pp:112 | |
| 16 | + | #10 0x401d7877 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0 | |
| 17 | + | #11 0x40206e5a in gtk_signal_remove_emission_hook () from /usr/lib/libgtk-1.2.so.0 | |
| 18 | + | #12 0x4020616a in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 | |
| 19 | + | #13 0x40204234 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 | |
| 20 | + | #14 0x40176e1c in gtk_button_clicked () from /usr/lib/libgtk-1.2.so.0 | |
| 21 | + | #15 0x4017838a in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0 | |
| 22 | + | #16 0x401d7877 in gtk_marshal_NONE__NONE () from /usr/lib/libgtk-1.2.so.0 | |
| 23 | + | #17 0x4020607b in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 | |
| 24 | + | #18 0x40204234 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 | |
| 25 | + | #19 0x40176d60 in gtk_button_released () from /usr/lib/libgtk-1.2.so.0 | |
| 26 | + | #20 0x40177d26 in gtk_button_get_relief () from /usr/lib/libgtk-1.2.so.0 | |
| 27 | + | #21 0x401d764d in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0 | |
| 28 | + | #22 0x4020619f in gtk_signal_set_funcs () from /usr/lib/libgtk-1.2.so.0 | |
| 29 | + | #23 0x40204234 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0 | |
| 30 | + | #24 0x40239fd9 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0 | |
| 31 | + | #25 0x401d74d0 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0 | |
| 32 | + | #26 0x401d65c1 in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0 | |
| 33 | + | #27 0x40065b44 in gdk_wm_protocols_filter () from /usr/lib/libgdk-1.2.so.0 | |
| 34 | + | #28 0x4003de75 in g_get_current_time () from /usr/lib/libglib-1.2.so.0 | |
| 35 | + | #29 0x4003e32c in g_get_current_time () from /usr/lib/libglib-1.2.so.0 | |
| 36 | + | #30 0x4003e4f5 in g_main_iteration () from /usr/lib/libglib-1.2.so.0 | |
| 37 | + | #31 0x401d6388 in gtk_main_iteration_do () from /usr/lib/libgtk-1.2.so.0 | |
| 38 | + | #32 0x080b4d26 in TGTKWIDGETSET__WAITMESSAGE (this=0x40473014) at gtkobject.inc:1427 | |
| 39 | + | #33 0x08070073 in TAPPLICATION__IDLE (this=0x4045b014) at application.inc:319 | |
| 40 | + | #34 0x08070ffb in TAPPLICATION__HANDLEMESSAGE (this=0x4045b014) at application.inc:827 | |
| 41 | + | #35 0x08071380 in RUNMESSAGE (parentfp=0xbffff5a4) at application.inc:933 | |
| 42 | + | #36 0x080712d7 in TAPPLICATION__RUN (this=0x4045b014) at application.inc:944 | |
| 43 | + | #37 0x080531c3 in main () at project1.lpr:13 | |
| 44 | + | (gdb) | |
| 45 | + | ``` | |
| 44 | 46 | ||
| 45 | 47 | --- | |
| 46 | 48 | *From the Free Pascal wiki, page "Creating a Backtrace with GDB\Backtrace", as it stood on 2020-02-29 after a change by Trev, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 47 | 49 | Category: Debugging | |
| 48 | 50 | Category: Unix |
