mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-26 15:22:25 +08:00
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.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
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.
|
||||||
|
|
||||||
2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
|
||||||
|
|
||||||
* arm-tdep.c (arm_elf_make_msymbol_special): Use
|
* arm-tdep.c (arm_elf_make_msymbol_special): Use
|
||||||
|
@ -248,7 +248,6 @@ iq2000_scan_prologue (struct gdbarch *gdbarch,
|
|||||||
if (tgtreg >= 0 && tgtreg < E_NUM_REGS)
|
if (tgtreg >= 0 && tgtreg < E_NUM_REGS)
|
||||||
cache->saved_regs[tgtreg] = -((signed short) (insn & 0xffff));
|
cache->saved_regs[tgtreg] = -((signed short) (insn & 0xffff));
|
||||||
|
|
||||||
if (tgtreg == E_LR_REGNUM)
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -845,6 +845,8 @@ add_sal_to_sals (struct linespec_state *self,
|
|||||||
canonical = &self->canonical_names[sals->nelts - 1];
|
canonical = &self->canonical_names[sals->nelts - 1];
|
||||||
if (!literal_canonical && sal->symtab)
|
if (!literal_canonical && sal->symtab)
|
||||||
{
|
{
|
||||||
|
symtab_to_fullname (sal->symtab);
|
||||||
|
|
||||||
/* Note that the filter doesn't have to be a valid linespec
|
/* Note that the filter doesn't have to be a valid linespec
|
||||||
input. We only apply the ":LINE" treatment to Ada for
|
input. We only apply the ":LINE" treatment to Ada for
|
||||||
the time being. */
|
the time being. */
|
||||||
|
Reference in New Issue
Block a user