diff options
author | Doug Evans <xdje42@gmail.com> | 2014-10-25 22:07:54 -0700 |
---|---|---|
committer | Doug Evans <xdje42@gmail.com> | 2014-10-25 22:07:54 -0700 |
commit | ec201f0cd1e6a0804822981fd7e25c99a3b39fd0 (patch) | |
tree | ab1470f7a3122e6b172c39b4e9aa8d3c66fd1da5 | |
parent | ca040673e070391c8e5c35a12ef6b33fe03128ad (diff) | |
download | gdb-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.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/symtab.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bff1141..6d10648 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,9 @@ 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 of local var child_die. 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); } |