diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index f773ec244cc..61d56af59f6 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -137,13 +137,22 @@ 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 xscrollbar | ||
| 141 | print (struct scrollbar *) (($ & 0x00ffffff) | $data_seg_bits) | ||
| 142 | output *$ | ||
| 143 | echo \n | ||
| 144 | end | ||
| 145 | document xsubr | ||
| 146 | Print $ as a scrollbar pointer. | ||
| 147 | end | ||
| 148 | |||
| 140 | set print pretty on | 149 | set print pretty on |
| 141 | 150 | ||
| 142 | unset environment TERMCAP | 151 | unset environment TERMCAP |
| 143 | unset environment TERM | 152 | unset environment TERM |
| 144 | echo TERMCAP and TERM environment variables unset.\n | 153 | echo TERMCAP and TERM environment variables unset.\n |
| 145 | show environment DISPLAY | 154 | show environment DISPLAY |
| 146 | set args -q | 155 | set args -q -geometry +0+0 |
| 147 | 156 | ||
| 148 | # Don't let abort actually run, as it will make | 157 | # Don't let abort actually run, as it will make |
| 149 | # stdio stop working and therefore the `pr' command below as well. | 158 | # stdio stop working and therefore the `pr' command below as well. |