aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJim Blandy1993-02-23 14:14:19 +0000
committerJim Blandy1993-02-23 14:14:19 +0000
commit8dd926cab5c4c49944d0a3d8c8e65498dd84e879 (patch)
tree6852aa897f5c269d6fc587d543c38379d3d131ef /src
parent5e808bc0d397f23fee13d279096af80e2e736cd4 (diff)
downloademacs-8dd926cab5c4c49944d0a3d8c8e65498dd84e879.tar.gz
emacs-8dd926cab5c4c49944d0a3d8c8e65498dd84e879.zip
* .gdbinit (xprocess): New command.
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 *$