+2018-07-20 Tom Tromey <tom@tromey.com>
+
+ * dwarf2read.c (process_full_comp_unit): Do not set list_in_scope.
+ (process_full_type_unit): Likewise.
+ (dwarf2_start_symtab): Set list_in_scope.
+
2018-07-20 Tom Tromey <tom@tromey.com>
* dwarf2read.c (process_psymtab_comp_unit_reader)
/* Clear the list here in case something was left over. */
cu->method_list.clear ();
- cu->list_in_scope = &file_symbols;
-
cu->language = pretend_language;
cu->language_defn = language_def (cu->language);
/* Clear the list here in case something was left over. */
cu->method_list.clear ();
- cu->list_in_scope = &file_symbols;
-
cu->language = pretend_language;
cu->language_defn = language_def (cu->language);
= start_symtab (cu->per_cu->dwarf2_per_objfile->objfile, name, comp_dir,
low_pc, cu->language);
+ cu->list_in_scope = &file_symbols;
+
record_debugformat ("DWARF 2");
record_producer (cu->producer);