diff options
| author | Jim Blandy | 1993-02-23 14:14:19 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-02-23 14:14:19 +0000 |
| commit | 8dd926cab5c4c49944d0a3d8c8e65498dd84e879 (patch) | |
| tree | 6852aa897f5c269d6fc587d543c38379d3d131ef /src | |
| parent | 5e808bc0d397f23fee13d279096af80e2e736cd4 (diff) | |
| download | emacs-8dd926cab5c4c49944d0a3d8c8e65498dd84e879.tar.gz emacs-8dd926cab5c4c49944d0a3d8c8e65498dd84e879.zip | |
* .gdbinit (xprocess): New command.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 9 |
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 | |||
| 137 | Print the address of the subr which the Lisp_Object $ points to. | 137 | Print the address of the subr which the Lisp_Object $ points to. |
| 138 | end | 138 | end |
| 139 | 139 | ||
| 140 | define xprocess | ||
| 141 | print (struct Lisp_Process *) (($ & 0x00ffffff) | $data_seg_bits) | ||
| 142 | output *$ | ||
| 143 | echo \n | ||
| 144 | end | ||
| 145 | document xprocess | ||
| 146 | Print the address of the struct Lisp_process which the Lisp_Object $ points to. | ||
| 147 | end | ||
| 148 | |||
| 140 | define xscrollbar | 149 | define xscrollbar |
| 141 | print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) | 150 | print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) |
| 142 | output *$ | 151 | output *$ |