aboutsummaryrefslogtreecommitdiff
path: root/gdb/h8300-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/h8300-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/h8300-tdep.c')
-rw-r--r--gdb/h8300-tdep.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdb/h8300-tdep.c b/gdb/h8300-tdep.c
index 98343e0..f847085 100644
--- a/gdb/h8300-tdep.c
+++ b/gdb/h8300-tdep.c
@@ -937,8 +937,6 @@ h8300h_return_value (struct gdbarch *gdbarch, struct value *function,
return RETURN_VALUE_REGISTER_CONVENTION;
}
-static struct cmd_list_element *setmachinelist;
-
/* Implementation of 'register_sim_regno' gdbarch method. */
static int