aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/.gdbinit9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit
index 61d56af59f6..7045c032e01 100644
--- a/src/.gdbinit
+++ b/src/.gdbinit
@@ -137,6 +137,15 @@ 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 xprocess
141print (struct Lisp_Process *) (($ & 0x00ffffff) | $data_seg_bits)
142output *$
143echo \n
144end
145document xprocess
146Print the address of the struct Lisp_process which the Lisp_Object $ points to.
147end
148
140define xscrollbar 149define xscrollbar
141print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) 150print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits)
142output *$ 151output *$