diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/.gdbinit | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/.gdbinit b/src/.gdbinit index f75d7532a7f..f773ec244cc 100644 --- a/src/.gdbinit +++ b/src/.gdbinit | |||
| @@ -12,6 +12,14 @@ end | |||
| 12 | # machine-description files. | 12 | # machine-description files. |
| 13 | set $data_seg_bits = 0 | 13 | set $data_seg_bits = 0 |
| 14 | 14 | ||
| 15 | define mips | ||
| 16 | set $data_seg_bits = 0x10000000 | ||
| 17 | end | ||
| 18 | document mips | ||
| 19 | Set up the xfoo macros to deal with the MIPS processor. | ||
| 20 | Specifically, this sets $data_seg_bits to the right thing. | ||
| 21 | end | ||
| 22 | |||
| 15 | define xtype | 23 | define xtype |
| 16 | output (enum Lisp_Type) (($ >> 24) & 0x7f) | 24 | output (enum Lisp_Type) (($ >> 24) & 0x7f) |
| 17 | echo \n | 25 | echo \n |