aboutsummaryrefslogtreecommitdiff
path: root/gdb/sh-tdep.c
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-05 17:50:28 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2000-12-05 17:50:28 +0000
commitc2ab3f09a11c42df9aa5783cb426eeb38c87fdb1 (patch)
treea618bb9ae3bf7d070fc66588f71d9b4a531e41a0 /gdb/sh-tdep.c
parente49a569c10c744e822a610735928f1e975ecade7 (diff)
downloadgdb-c2ab3f09a11c42df9aa5783cb426eeb38c87fdb1.zip
gdb-c2ab3f09a11c42df9aa5783cb426eeb38c87fdb1.tar.gz
gdb-c2ab3f09a11c42df9aa5783cb426eeb38c87fdb1.tar.bz2
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.
Diffstat (limited to 'gdb/sh-tdep.c')
-rw-r--r--gdb/sh-tdep.c16
1 files changed, 0 insertions, 16 deletions
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: