From: Doug Evans Date: Sun, 26 Oct 2014 05:07:54 +0000 (-0700) Subject: symtab.c (lookup_symbol_aux_quick): Set block_found upon success. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec201f0cd1e6a0804822981fd7e25c99a3b39fd0;p=binutils-gdb.git symtab.c (lookup_symbol_aux_quick): Set block_found upon success. gdb/ChangeLog: * symtab.c (lookup_symbol_aux_quick): Set block_found upon success. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bff11412a67..6d10648174e 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2014-10-25 Doug Evans + + * symtab.c (lookup_symbol_aux_quick): Set block_found upon success. + 2014-10-25 Doug Evans * dwarf2read.c (process_structure_scope): Remove second (nested) copy diff --git a/gdb/symtab.c b/gdb/symtab.c index c530d50ed05..2423b092928 100644 --- a/gdb/symtab.c +++ b/gdb/symtab.c @@ -1771,6 +1771,7 @@ lookup_symbol_aux_quick (struct objfile *objfile, int kind, sym = lookup_block_symbol (block, name, domain); if (!sym) error_in_psymtab_expansion (kind, name, symtab); + block_found = block; return fixup_symbol_section (sym, objfile); }