diff options
| author | Jim Blandy | 1993-07-25 03:14:29 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-07-25 03:14:29 +0000 |
| commit | df86e57ea02b64a2fbb13541556b5cca545a62d8 (patch) | |
| tree | aeca203879f2f8c368304384eac83dd77a3f8626 /src | |
| parent | 4eb5bf462db3c8efcc671a3b47c026190dcd88f0 (diff) | |
| download | emacs-df86e57ea02b64a2fbb13541556b5cca545a62d8.tar.gz emacs-df86e57ea02b64a2fbb13541556b5cca545a62d8.zip | |
Add size to geometry spec.
Specify sevenbit-strings in set print.
(xfloat): New command.
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index f5dc66d2782..2fa6260e0a3 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -146,6 +146,13 @@ document xprocess | |||
| 146 | Print the address of the struct Lisp_process which the Lisp_Object $ points to. | 146 | Print the address of the struct Lisp_process which the Lisp_Object $ points to. |
| 147 | end | 147 | end |
| 148 | 148 | ||
| 149 | define xfloat | ||
| 150 | print ((struct Lisp_Float *) (($ & 0x00ffffff) | $data_seg_bits))->data | ||
| 151 | end | ||
| 152 | document xfloat | ||
| 153 | Print $ assuming it is a lisp floating-point number. | ||
| 154 | end | ||
| 155 | |||
| 149 | define xscrollbar | 156 | define xscrollbar |
| 150 | print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) | 157 | print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) |
| 151 | output *$ | 158 | output *$ |
| @@ -156,12 +163,13 @@ Print $ as a scrollbar pointer. | |||
| 156 | end | 163 | end |
| 157 | 164 | ||
| 158 | set print pretty on | 165 | set print pretty on |
| 166 | set print sevenbit-strings | ||
| 159 | 167 | ||
| 160 | unset environment TERMCAP | 168 | unset environment TERMCAP |
| 161 | unset environment TERM | 169 | unset environment TERM |
| 162 | echo TERMCAP and TERM environment variables unset.\n | 170 | echo TERMCAP and TERM environment variables unset.\n |
| 163 | show environment DISPLAY | 171 | show environment DISPLAY |
| 164 | set args -q -geometry +0+0 | 172 | set args -q -geometry 80x40+0+0 |
| 165 | 173 | ||
| 166 | # Don't let abort actually run, as it will make | 174 | # Don't let abort actually run, as it will make |
| 167 | # stdio stop working and therefore the `pr' command above as well. | 175 | # stdio stop working and therefore the `pr' command above as well. |