Revert "2020-04-29 Sterling Augustine <saugustine@google.com>"

This reverts commit 84ed7a4725.

The problem that the commit attempts to address has already been fixed in
commit 770479f223 "gdb: Fix toplevel types with -fdebug-types-section".

The commit itself is superfluous because it sets list_in_scope at a point that
it's already set (by start_symtab).
This commit is contained in:
Tom de Vries 2020-04-30 18:51:49 +02:00
parent 102e38eba7
commit b2a0dd767a
2 changed files with 0 additions and 5 deletions

View File

@ -50,10 +50,6 @@
* gdbarch.sh: Use %s with printf, instead of variables in the
format string.
2020-04-29 Sterling Augustine <saugustine@google.com>
* dwarf2/read.c (setup_type_unit_groups): Set list_in_scope.
2020-04-29 Tom Tromey <tromey@adacore.com>
PR ada/25875:

View File

@ -10942,7 +10942,6 @@ dwarf2_cu::setup_type_unit_groups (struct die_info *die)
= XOBNEWVEC (&COMPUNIT_OBJFILE (cust)->objfile_obstack,
struct symtab *, line_header->file_names_size ());
list_in_scope = get_builder ()->get_file_symbols ();
auto &file_names = line_header->file_names ();
for (i = 0; i < file_names.size (); ++i)
{