aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index f773ec244cc..61d56af59f6 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -137,13 +137,22 @@ document xsubr
137Print the address of the subr which the Lisp_Object $ points to. 137Print the address of the subr which the Lisp_Object $ points to.
138end 138end
139 139
140define xscrollbar
141print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits)
142output *$
143echo \n
144end
145document xsubr
146Print $ as a scrollbar pointer.
147end
148
140set print pretty on 149set print pretty on
141 150
142unset environment TERMCAP 151unset environment TERMCAP
143unset environment TERM 152unset environment TERM
144echo TERMCAP and TERM environment variables unset.\n 153echo TERMCAP and TERM environment variables unset.\n
145show environment DISPLAY 154show environment DISPLAY
146set args -q 155set args -q -geometry +0+0
147 156
148# Don't let abort actually run, as it will make 157# Don't let abort actually run, as it will make
149# stdio stop working and therefore the `pr' command below as well. 158# stdio stop working and therefore the `pr' command below as well.