aboutsummaryrefslogtreecommitdiff
path: root/gdb/tm-mips.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tm-mips.h')
-rw-r--r--gdb/tm-mips.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/tm-mips.h b/gdb/tm-mips.h
index dc5af0d..bd0bebb 100644
--- a/gdb/tm-mips.h
+++ b/gdb/tm-mips.h
@@ -344,3 +344,5 @@ typedef struct mips_extra_func_info {
struct frame_saved_regs *saved_regs;
#define INIT_EXTRA_FRAME_INFO(fromleaf, fci) init_extra_frame_info(fci)
+
+#define STAB_REG_TO_REGNUM(num) ((num) < 32 ? (num) : (num)+FP0_REGNUM-32)