aboutsummaryrefslogtreecommitdiff
path: root/gdb/rs6000-tdep.c
diff options
context:
space:
mode:
authorSanimir Agovic <sanimir.agovic@intel.com>2014-02-13 12:41:24 +0000
committerSanimir Agovic <sanimir.agovic@intel.com>2014-02-13 13:35:38 +0000
commitac61d2dbf7df54bbb7cef09ac9b5f61541da065b (patch)
treee1cffb08c3eb68a2c5ce36cae85286e61ef54668 /gdb/rs6000-tdep.c
parent6f569efa614f0d0dd246ff196cb89b38714ea1d2 (diff)
downloadgdb-ac61d2dbf7df54bbb7cef09ac9b5f61541da065b.zip
gdb-ac61d2dbf7df54bbb7cef09ac9b5f61541da065b.tar.gz
gdb-ac61d2dbf7df54bbb7cef09ac9b5f61541da065b.tar.bz2
cleanup: remove declared variables without any references
2014-02-13 Sanimir Agovic <sanimir.agovic@intel.com> * cris-tdep.c (cris_supply_gregset): Remove zerobuf. (_initialize_cris_tdep): Remove cris_set_cmdlist, cris_show_cmdlist. * h8300-tdep.c (setmachinelist): Remove global. * hppa-tdep.c (hppa_sigtramp): Remove global. * mipsnbsd-tdep.c (sigtramp_retcode_mipsel, sigtramp_retcode_mipseb RETCODE_NWORDS, RETCODE_SIZE): Wrap code with #if 0. * ravenscar-thread.c (update_target_observer): Remove global. * rs6000-tdep.c (rs6000_gdbarch_init): Remove segment_regs.
Diffstat (limited to 'gdb/rs6000-tdep.c')
-rw-r--r--gdb/rs6000-tdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/rs6000-tdep.c b/gdb/rs6000-tdep.c
index 58afc53..bbaf459 100644
--- a/gdb/rs6000-tdep.c
+++ b/gdb/rs6000-tdep.c
@@ -3652,10 +3652,6 @@ rs6000_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches)
"r16", "r17", "r18", "r19", "r20", "r21", "r22", "r23",
"r24", "r25", "r26", "r27", "r28", "r29", "r30", "r31"
};
- static const char *const segment_regs[] = {
- "sr0", "sr1", "sr2", "sr3", "sr4", "sr5", "sr6", "sr7",
- "sr8", "sr9", "sr10", "sr11", "sr12", "sr13", "sr14", "sr15"
- };
const struct tdesc_feature *feature;
int i, valid_p;
static const char *const msr_names[] = { "msr", "ps" };