summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-02-23 14:14:19 +0000
committerJim Blandy <jimb@redhat.com>1993-02-23 14:14:19 +0000
commit8dd926cab5c4c49944d0a3d8c8e65498dd84e879 (patch)
tree6852aa897f5c269d6fc587d543c38379d3d131ef /src/.gdbinit
parent5e808bc0d397f23fee13d279096af80e2e736cd4 (diff)
downloademacs-8dd926cab5c4c49944d0a3d8c8e65498dd84e879.tar.gz
* .gdbinit (xprocess): New command.
Diffstat (limited to 'src/.gdbinit')
-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
Print the address of the subr which the Lisp_Object $ points to.
end
+define xprocess
+print (struct Lisp_Process *) (($ & 0x00ffffff) | $data_seg_bits)
+output *$
+echo \n
+end
+document xprocess
+Print the address of the struct Lisp_process which the Lisp_Object $ points to.
+end
+
define xscrollbar
print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits)
output *$