aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-10 21:33:45 -0400
committerTrevor Saunders <tbsaunde+binutils@tbsaunde.org>2016-05-10 21:36:02 -0400
commitdf140a0bc3140bca133cd7ced6e18903db69c396 (patch)
tree336587ad009b20ccb9fa18d22c58900e61cf8e38 /gdb/iq2000-tdep.c
parentAutomatic date update in version.in (diff)
downloadbinutils-gdb-df140a0bc3140bca133cd7ced6e18903db69c396.tar.gz
binutils-gdb-df140a0bc3140bca133cd7ced6e18903db69c396.tar.bz2
binutils-gdb-df140a0bc3140bca133cd7ced6e18903db69c396.zip
fix up two issues with the removal of unused variables
gdb/ChangeLog: 2016-05-10 Trevor Saunders <tbsaunde+binutils@tbsaunde.org> * iq2000-tdep.c (iq2000_scan_prologue): Remove if that shouldn't guard anything. * linespec.c (add_sal_to_sals): Restore call to symtab_to_fullname.
Diffstat (limited to 'gdb/iq2000-tdep.c')
-rw-r--r--gdb/iq2000-tdep.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/iq2000-tdep.c b/gdb/iq2000-tdep.c
index 14d2afe2ab9..600d70a15f8 100644
--- a/gdb/iq2000-tdep.c
+++ b/gdb/iq2000-tdep.c
@@ -248,7 +248,6 @@ iq2000_scan_prologue (struct gdbarch *gdbarch,
if (tgtreg >= 0 && tgtreg < E_NUM_REGS)
cache->saved_regs[tgtreg] = -((signed short) (insn & 0xffff));
- if (tgtreg == E_LR_REGNUM)
continue;
}