aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorPeter Schauer <Peter.Schauer@mytum.de>1993-09-16 07:39:41 +0000
committerPeter Schauer <Peter.Schauer@mytum.de>1993-09-16 07:39:41 +0000
commit8b15c4801ab88403d643c15b40dd8a618fcc7fd0 (patch)
treefc75dc5ca3dc68f0411b34840eea890c8b767d1c /gdb/config
parent85999c054b0dfaa6f0ccff9220a14db01dfeb1e8 (diff)
downloadgdb-8b15c4801ab88403d643c15b40dd8a618fcc7fd0.zip
gdb-8b15c4801ab88403d643c15b40dd8a618fcc7fd0.tar.gz
gdb-8b15c4801ab88403d643c15b40dd8a618fcc7fd0.tar.bz2
* config/mips/tm-mips.h (ECOFF_REG_TO_REGNUM): Define.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/mips/tm-mips.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/mips/tm-mips.h b/gdb/config/mips/tm-mips.h
index d2b5d20..4f012b2 100644
--- a/gdb/config/mips/tm-mips.h
+++ b/gdb/config/mips/tm-mips.h
@@ -435,3 +435,7 @@ extern struct frame_info *setup_arbitrary_frame PARAMS ((int, CORE_ADDR *));
/* Convert a dbx stab register number (from `r' declaration) to a gdb REGNUM */
#define STAB_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-38)
+
+/* Convert a ecoff register number to a gdb REGNUM */
+
+#define ECOFF_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32)