aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/sh/tm-sh.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index d7438fe..6755587 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -1,5 +1,5 @@
/* Target-specific definition for a Hitachi Super-H.
- Copyright (C) 1993 Free Software Foundation, Inc.
+ Copyright (C) 1993, 2000 Free Software Foundation, Inc.
This file is part of GDB.
@@ -44,6 +44,18 @@ struct gdbarch_tdep
int SPC_REGNUM; /* sh3, sh3-dsp, sh3e, sh4 */
int RS_REGNUM; /* sh-dsp, sh3-dsp */
int RE_REGNUM; /* sh-dsp, sh3-dsp */
+ int DR0_REGNUM;
+ int DR1_REGNUM;
+ int DR2_REGNUM;
+ int DR3_REGNUM;
+ int DR4_REGNUM;
+ int DR5_REGNUM;
+ int DR6_REGNUM;
+ int DR7_REGNUM;
+ int FV0_REGNUM;
+ int FV1_REGNUM;
+ int FV2_REGNUM;
+ int FV3_REGNUM;
};
/* Registers common to all the SH variants. */
@@ -61,6 +73,12 @@ enum
SR_REGNUM = 22
};
+/* Define DO_REGISTERS_INFO() to do machine-specific formatting
+ of register dumps. */
+extern void sh_do_registers_info (int regnum, int fpregs);
+#undef DO_REGISTERS_INFO
+#define DO_REGISTERS_INFO(REGNUM, FP) sh_do_registers_info(REGNUM, FP)
+
#define NUM_REALREGS 59 /* used in remote-e7000.c which is not multiarched. */
#define REGISTER_TYPE long /* used in standalone.c */