symtab.c (lookup_symbol_aux_quick): Set block_found upon success.
authorDoug Evans <xdje42@gmail.com>
Sun, 26 Oct 2014 05:07:54 +0000 (22:07 -0700)
committerDoug Evans <xdje42@gmail.com>
Sun, 26 Oct 2014 05:07:54 +0000 (22:07 -0700)
gdb/ChangeLog:

* symtab.c (lookup_symbol_aux_quick): Set block_found upon success.

gdb/ChangeLog
gdb/symtab.c

index bff11412a671d6a88d2acf1cd3c5a1e564c51a03..6d10648174e52b980158e6d6398463554de8e373 100644 (file)
@@ -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
index c530d50ed055f7af80070ea48a3128cb74725fe8..2423b0929286b0371f8d36a3fc8a490530ec66dc 100644 (file)
@@ -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);
 }