aboutsummaryrefslogtreecommitdiff
path: root/gdb/cris-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/cris-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/cris-tdep.c')
-rw-r--r--gdb/cris-tdep.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/cris-tdep.c b/gdb/cris-tdep.c
index 30bcbfc..6861e2b 100644
--- a/gdb/cris-tdep.c
+++ b/gdb/cris-tdep.c
@@ -3833,7 +3833,6 @@ cris_supply_gregset (struct regcache *regcache, cris_elf_gregset_t *gregsetp)
struct gdbarch_tdep *tdep = gdbarch_tdep (gdbarch);
int i;
cris_elf_greg_t *regp = *gregsetp;
- static char zerobuf[4] = {0};
/* The kernel dumps all 32 registers as unsigned longs, but supply_register
knows about the actual size of each register so that's no problem. */
@@ -3901,9 +3900,6 @@ extern initialize_file_ftype _initialize_cris_tdep; /* -Wmissing-prototypes */
void
_initialize_cris_tdep (void)
{
- static struct cmd_list_element *cris_set_cmdlist;
- static struct cmd_list_element *cris_show_cmdlist;
-
struct cmd_list_element *c;
gdbarch_register (bfd_arch_cris, cris_gdbarch_init, cris_dump_tdep);