aboutsummaryrefslogtreecommitdiff
path: root/gdb/config
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-15 21:44:35 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-15 21:44:35 +0000
commitc62a7c7ba7b6f0661b1ca5e75258141ecca1dc4e (patch)
treee362dff55eb9a19aad36258181c7996eae83c415 /gdb/config
parentc898ebff4c7a2cb3d5375a8c600268477ec4db60 (diff)
downloadgdb-c62a7c7ba7b6f0661b1ca5e75258141ecca1dc4e.zip
gdb-c62a7c7ba7b6f0661b1ca5e75258141ecca1dc4e.tar.gz
gdb-c62a7c7ba7b6f0661b1ca5e75258141ecca1dc4e.tar.bz2
2000-12-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
* sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): SR_REGNUM is now part of gdbarch_tdep structure. (sh_gdbarch_init): Initialize SR_REGNUM. * config/sh/tm-sh.h (struct gdbarch_tdep): Add field SR_REGNUM.
Diffstat (limited to 'gdb/config')
-rw-r--r--gdb/config/sh/tm-sh.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h
index 5817c0b..34495e7 100644
--- a/gdb/config/sh/tm-sh.h
+++ b/gdb/config/sh/tm-sh.h
@@ -27,6 +27,7 @@ struct gdbarch_tdep
{
int FPUL_REGNUM; /* sh3e, sh4 */
int FPSCR_REGNUM; /* sh3e, sh4 */
+ int SR_REGNUM; /* sh-dsp, sh3, sh3-dsp, sh3e, sh4 */
int DSR_REGNUM; /* sh-dsp, sh3-dsp */
int FP_LAST_REGNUM; /* sh3e, sh4 */
int A0G_REGNUM; /* sh-dsp, sh3-dsp */
@@ -61,8 +62,7 @@ enum
GBR_REGNUM = 18,
VBR_REGNUM = 19,
MACH_REGNUM = 20,
- MACL_REGNUM = 21,
- SR_REGNUM = 22
+ MACL_REGNUM = 21
};
/* Define DO_REGISTERS_INFO() to do machine-specific formatting