Revert "2020-04-29 Sterling Augustine <saugustine@google.com>"
authorTom de Vries <tdevries@suse.de>
Thu, 30 Apr 2020 16:51:49 +0000 (18:51 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 30 Apr 2020 16:51:49 +0000 (18:51 +0200)
This reverts commit 84ed7a472551bce1ac58e0eced619433fabc956c.

The problem that the commit attempts to address has already been fixed in
commit 770479f223e "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).

gdb/ChangeLog
gdb/dwarf2/read.c

index f78d829248838b97dc6eff857b89511b02397b59..ede911f7ac704c7e7ccd98ba4f219e58343fc3d3 100644 (file)
        * 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:
index 91a6803bf3b034f4c6214d531be41488c59c080c..1813085d0d7a0bfe34a23b86287e1deef0a9e611 100644 (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)
        {
This page took 0.047205 seconds and 4 git commands to generate.