2000-12-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 5 Dec 2000 17:50:28 +0000 (17:50 +0000)
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>
Tue, 5 Dec 2000 17:50:28 +0000 (17:50 +0000)
        * 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.

gdb/ChangeLog
gdb/config/sh/tm-sh.h
gdb/sh-tdep.c

index 1754bfe4014f425e23fcdf79e3581b9aec4aa58b..2147932f5ed73df392e0daf9529e6ec0bc4f334e 100644 (file)
@@ -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.
index 16e0619c239cf5e7bc1afc46411a7c91e2d174b0..af7a92819c997495fcf5eca33af713a50cdbe5dd 100644 (file)
@@ -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 */
   };
 
index 44c5bd87ad2291f27164807a3eda8f0337968147..8d506058c7c8896829979124ad2225b342717174 100644 (file)
@@ -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: