aboutsummaryrefslogtreecommitdiff
path: root/gdb/hppa-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/hppa-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/hppa-tdep.c')
-rw-r--r--gdb/hppa-tdep.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/gdb/hppa-tdep.c b/gdb/hppa-tdep.c
index 53b6c95..1654529 100644
--- a/gdb/hppa-tdep.c
+++ b/gdb/hppa-tdep.c
@@ -2775,18 +2775,6 @@ static struct insn_pattern hppa_plt_stub[] = {
{ 0, 0 }
};
-static struct insn_pattern hppa_sigtramp[] = {
- /* ldi 0, %r25 or ldi 1, %r25 */
- { 0x34190000, 0xfffffffd },
- /* ldi __NR_rt_sigreturn, %r20 */
- { 0x3414015a, 0xffffffff },
- /* be,l 0x100(%sr2, %r0), %sr0, %r31 */
- { 0xe4008200, 0xffffffff },
- /* nop */
- { 0x08000240, 0xffffffff },
- { 0, 0 }
-};
-
/* Maximum number of instructions on the patterns above. */
#define HPPA_MAX_INSN_PATTERN_LEN 4