symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
gdb/ChangeLog: * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
This commit is contained in:
parent
ca040673e0
commit
ec201f0cd1
|
@ -1,3 +1,7 @@
|
|||
2014-10-25 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
|
||||
|
||||
2014-10-25 Doug Evans <xdje42@gmail.com>
|
||||
|
||||
* dwarf2read.c (process_structure_scope): Remove second (nested) copy
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue