aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/.gdbinit6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 2668772c2ed..50f4b11238a 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -993,7 +993,11 @@ Print $ as a scrollbar pointer.
993end 993end
994 994
995define xxwidget 995define xxwidget
996 xgetptr $ 996 if $argc == 1
997 xgetptr $arg0
998 else
999 xgetptr $
1000 end
997 set $xw = (struct xwidget *) $ptr 1001 set $xw = (struct xwidget *) $ptr
998 print $xw 1002 print $xw
999 printf " Type: " 1003 printf " Type: "