From: Tom de Vries Date: Thu, 24 Jun 2021 15:56:57 +0000 (+0200) Subject: Revert "Disable-lazy" X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=979be9810a74ba6b9129bfdcf6477b895f0c5b22;p=thirdparty%2Fbinutils-gdb.git Revert "Disable-lazy" This reverts commit 70e839550684896cdc581f28c4e948e4ff5ff6fe. --- diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index deec20ed98f..cf6dc08367c 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -10549,7 +10549,7 @@ read_file_scope (struct die_info *die, struct dwarf2_cu *cu) handle_DW_AT_stmt_list (die, cu, fnd.comp_dir, lowpc); /* Process all dies in compilation unit. */ - if (false && lazy_expand_symtab_p && cu->per_cu->interesting_symbols + if (lazy_expand_symtab_p && cu->per_cu->interesting_symbols && cu->per_cu->interesting_symbols->size () > 0) { std::set expanded;