summaryrefslogtreecommitdiff
path: root/src/.gdbinit
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1992-11-07 05:29:26 +0000
committerJim Blandy <jimb@redhat.com>1992-11-07 05:29:26 +0000
commitef8dcf2787c5cf0d859daf15bc28d13bd39925bc (patch)
treee83faf14f30c77d4e6bd313508fc9264fa27425d /src/.gdbinit
parentc0e265f26de063e98e883596aeeeb31fa0b81806 (diff)
downloademacs-ef8dcf2787c5cf0d859daf15bc28d13bd39925bc.tar.gz
Added `mips' command.jimb-sync-Nov-3-1992
Diffstat (limited to 'src/.gdbinit')
-rw-r--r--src/.gdbinit8
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
# machine-description files.
set $data_seg_bits = 0
+define mips
+set $data_seg_bits = 0x10000000
+end
+document mips
+Set up the xfoo macros to deal with the MIPS processor.
+Specifically, this sets $data_seg_bits to the right thing.
+end
+
define xtype
output (enum Lisp_Type) (($ >> 24) & 0x7f)
echo \n