aboutsummaryrefslogtreecommitdiff
path: root/gdb/symtab.c
diff options
context:
space:
mode:
authorDoug Evans <xdje42@gmail.com>2014-10-25 22:07:54 -0700
committerDoug Evans <xdje42@gmail.com>2014-10-25 22:07:54 -0700
commitec201f0cd1e6a0804822981fd7e25c99a3b39fd0 (patch)
treeab1470f7a3122e6b172c39b4e9aa8d3c66fd1da5 /gdb/symtab.c
parentca040673e070391c8e5c35a12ef6b33fe03128ad (diff)
downloadgdb-ec201f0cd1e6a0804822981fd7e25c99a3b39fd0.zip
gdb-ec201f0cd1e6a0804822981fd7e25c99a3b39fd0.tar.gz
gdb-ec201f0cd1e6a0804822981fd7e25c99a3b39fd0.tar.bz2
symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
gdb/ChangeLog: * symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
Diffstat (limited to 'gdb/symtab.c')
-rw-r--r--gdb/symtab.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/symtab.c b/gdb/symtab.c
index c530d50..2423b09 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);
}