Remove mips_pdr_data
authorTom Tromey <tom@tromey.com>
Wed, 1 May 2019 21:46:15 +0000 (15:46 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 8 May 2019 22:01:55 +0000 (16:01 -0600)
mips_pdr_data is unused, so this patch removes it.

gdb/ChangeLog
2019-05-08  Tom Tromey  <tom@tromey.com>

* mips-tdep.c (mips_pdr_data): Remove.
(_initialize_mips_tdep): Update.

gdb/ChangeLog
gdb/mips-tdep.c

index 8194236ddf304481395330213d31074c7fb6949c..ba67e17c1a3f3fa0d89c8c5d5fbdde5088c30681 100644 (file)
@@ -1,3 +1,8 @@
+2019-05-08  Tom Tromey  <tom@tromey.com>
+
+       * mips-tdep.c (mips_pdr_data): Remove.
+       (_initialize_mips_tdep): Update.
+
 2019-05-08  Tom Tromey  <tom@tromey.com>
 
        * hppa-tdep.c (hppa_objfile_priv_data): Change type.
index f3361388225ea8e5af63f3558bf870c4bf8c001f..3fb53bc76da4dea995d4c85270209d9aa7046d97 100644 (file)
@@ -58,8 +58,6 @@
 #include "target-float.h"
 #include <algorithm>
 
-static const struct objfile_data *mips_pdr_data;
-
 static struct type *mips_register_type (struct gdbarch *gdbarch, int regnum);
 
 static int mips32_instruction_has_delay_slot (struct gdbarch *gdbarch,
@@ -8985,8 +8983,6 @@ _initialize_mips_tdep (void)
 
   gdbarch_register (bfd_arch_mips, mips_gdbarch_init, mips_dump_tdep);
 
-  mips_pdr_data = register_objfile_data ();
-
   /* Create feature sets with the appropriate properties.  The values
      are not important.  */
   mips_tdesc_gp32 = allocate_target_description ();
This page took 0.037663 seconds and 4 git commands to generate.