diff options
author | Sanimir Agovic <sanimir.agovic@intel.com> | 2014-02-13 12:41:24 +0000 |
---|---|---|
committer | Sanimir Agovic <sanimir.agovic@intel.com> | 2014-02-13 13:35:38 +0000 |
commit | ac61d2dbf7df54bbb7cef09ac9b5f61541da065b (patch) | |
tree | e1cffb08c3eb68a2c5ce36cae85286e61ef54668 /gdb/mipsnbsd-tdep.c | |
parent | 6f569efa614f0d0dd246ff196cb89b38714ea1d2 (diff) | |
download | gdb-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/mipsnbsd-tdep.c')
-rw-r--r-- | gdb/mipsnbsd-tdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/mipsnbsd-tdep.c b/gdb/mipsnbsd-tdep.c index 4773ae0..9742150 100644 --- a/gdb/mipsnbsd-tdep.c +++ b/gdb/mipsnbsd-tdep.c @@ -211,6 +211,8 @@ mipsnbsd_fill_fpreg (const struct regcache *regcache, char *fpregs, int regno) * mips_isa_regsize (gdbarch))); } +#if 0 + /* Under NetBSD/mips, signal handler invocations can be identified by the designated code sequence that is used to return from a signal handler. In particular, the return address of a signal handler points to the @@ -244,6 +246,8 @@ static const unsigned char sigtramp_retcode_mipseb[RETCODE_SIZE] = 0x00, 0x00, 0x00, 0x0c, /* syscall */ }; +#endif + /* Figure out where the longjmp will land. We expect that we have just entered longjmp and haven't yet setup the stack frame, so the args are still in the argument regs. MIPS_A0_REGNUM points at the |