diff options
-rw-r--r-- | gdb/ChangeLog | 8 | ||||
-rw-r--r-- | gdb/config/sh/tm-sh.h | 8 | ||||
-rw-r--r-- | gdb/sh-tdep.c | 16 |
3 files changed, 8 insertions, 24 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1754bfe..2147932 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2000-12-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com> + + * config/sh/tm-sh.h (struct gdbarch_tdep): Get rid of + DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM, they are not used + anywhere. + * sh-tdep.c (sh_gdbarch_init): Don't initialize + DR{2,4,6,8,10,12}_REGNUM, FV{4,8}_REGNUM. + 2000-12-04 Michael Snyder <msnyder@cleaver.cygnus.com> * utils.c (internal_verror): Fix typo in error msg. diff --git a/gdb/config/sh/tm-sh.h b/gdb/config/sh/tm-sh.h index 16e0619..af7a928 100644 --- a/gdb/config/sh/tm-sh.h +++ b/gdb/config/sh/tm-sh.h @@ -45,16 +45,8 @@ struct gdbarch_tdep int RS_REGNUM; /* sh-dsp, sh3-dsp */ int RE_REGNUM; /* sh-dsp, sh3-dsp */ int DR0_REGNUM; /* sh4 */ - int DR2_REGNUM; /* sh4 */ - int DR4_REGNUM; /* sh4 */ - int DR6_REGNUM; /* sh4 */ - int DR8_REGNUM; /* sh4 */ - int DR10_REGNUM; /* sh4 */ - int DR12_REGNUM; /* sh4 */ int DR14_REGNUM; /* sh4 */ int FV0_REGNUM; /* sh4 */ - int FV4_REGNUM; /* sh4 */ - int FV8_REGNUM; /* sh4 */ int FV12_REGNUM; /* sh4 */ }; diff --git a/gdb/sh-tdep.c b/gdb/sh-tdep.c index 44c5bd8..8d50605 100644 --- a/gdb/sh-tdep.c +++ b/gdb/sh-tdep.c @@ -1889,16 +1889,8 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) tdep->SSR_REGNUM = -1; tdep->SPC_REGNUM = -1; tdep->DR0_REGNUM = -1; - tdep->DR2_REGNUM = -1; - tdep->DR4_REGNUM = -1; - tdep->DR6_REGNUM = -1; - tdep->DR8_REGNUM = -1; - tdep->DR10_REGNUM = -1; - tdep->DR12_REGNUM = -1; tdep->DR14_REGNUM = -1; tdep->FV0_REGNUM = -1; - tdep->FV4_REGNUM = -1; - tdep->FV8_REGNUM = -1; tdep->FV12_REGNUM = -1; set_gdbarch_fp0_regnum (gdbarch, -1); set_gdbarch_num_pseudo_regs (gdbarch, 0); @@ -2027,16 +2019,8 @@ sh_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) tdep->SSR_REGNUM = 41; tdep->SPC_REGNUM = 42; tdep->DR0_REGNUM = 59; - tdep->DR2_REGNUM = 60; - tdep->DR4_REGNUM = 61; - tdep->DR6_REGNUM = 62; - tdep->DR8_REGNUM = 63; - tdep->DR10_REGNUM = 64; - tdep->DR12_REGNUM = 65; tdep->DR14_REGNUM = 66; tdep->FV0_REGNUM = 67; - tdep->FV4_REGNUM = 68; - tdep->FV8_REGNUM = 69; tdep->FV12_REGNUM = 70; break; default: |