From: Elena Zannoni Date: Tue, 5 Dec 2000 17:50:28 +0000 (+0000) Subject: 2000-12-05 Elena Zannoni X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c2ab3f09a11c42df9aa5783cb426eeb38c87fdb1;p=binutils-gdb.git 2000-12-05 Elena Zannoni * 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. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 1754bfe4014..2147932f5ed 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,11 @@ +2000-12-05 Elena Zannoni + + * 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 * 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 16e0619c239..af7a92819c9 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 44c5bd87ad2..8d506058c7c 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: