From 84ed7a472551bce1ac58e0eced619433fabc956c Mon Sep 17 00:00:00 2001 From: Sterling Augustine Date: Tue, 28 Apr 2020 11:17:50 -0700 Subject: [PATCH] 2020-04-29 Sterling Augustine * dwarf2/read.c (setup_type_unit_groups): Set list_in_scope. --- gdb/ChangeLog | 4 ++++ gdb/dwarf2/read.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bbe50bfe550..c866106d3fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2020-04-29 Sterling Augustine + + * dwarf2/read.c (setup_type_unit_groups): Set list_in_scope. + 2020-04-29 Tom Tromey PR ada/25875: diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c index 1813085d0d7..91a6803bf3b 100644 --- a/gdb/dwarf2/read.c +++ b/gdb/dwarf2/read.c @@ -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) { -- 2.30.2