aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.c
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-05-01 15:46:15 -0600
committerTom Tromey <tom@tromey.com>2019-05-08 16:01:55 -0600
commitd11d83f47bad5dfc959ac60b3619017ac60bdaf9 (patch)
tree9561320df0713d27e7c802a9ad32949ff2955a34 /gdb/mips-tdep.c
parent9a73f0ad6ca2a9c027f30fca3d79fa958784dcbf (diff)
downloadgdb-d11d83f47bad5dfc959ac60b3619017ac60bdaf9.zip
gdb-d11d83f47bad5dfc959ac60b3619017ac60bdaf9.tar.gz
gdb-d11d83f47bad5dfc959ac60b3619017ac60bdaf9.tar.bz2
Remove mips_pdr_data
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.
Diffstat (limited to 'gdb/mips-tdep.c')
-rw-r--r--gdb/mips-tdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c
index f336138..3fb53bc 100644
--- a/gdb/mips-tdep.c
+++ b/gdb/mips-tdep.c
@@ -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 ();