2020-04-29 Sterling Augustine <saugustine@google.com>
authorSterling Augustine <saugustine@google.com>
Tue, 28 Apr 2020 18:17:50 +0000 (11:17 -0700)
committerEric Christopher <echristo@gmail.com>
Thu, 30 Apr 2020 00:28:19 +0000 (17:28 -0700)
       * dwarf2/read.c (setup_type_unit_groups): Set list_in_scope.

gdb/ChangeLog
gdb/dwarf2/read.c

index bbe50bfe550711e47fa18b6003bedbac1cddf7b9..c866106d3fe07f76fd0ca00c44a51c7652af585c 100644 (file)
@@ -1,3 +1,7 @@
+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 1813085d0d7a0bfe34a23b86287e1deef0a9e611..91a6803bf3b034f4c6214d531be41488c59c080c 100644 (file)
@@ -10942,6 +10942,7 @@ 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)
        {