summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2020-04-30 18:51:49 +0200
committerTom de Vries <tdevries@suse.de>2020-04-30 18:51:49 +0200
commitb2a0dd767a59a4b1e343c178177dcaee55e540f1 (patch)
tree01e0f1020ab48af5cdf7134c44de96ef42938281
parent102e38eba728cd3b969723f7cebd13f7220364b8 (diff)
downloadbinutils-gdb-b2a0dd767a59a4b1e343c178177dcaee55e540f1.tar.gz
Revert "2020-04-29 Sterling Augustine <saugustine@google.com>"
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).
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/dwarf2/read.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index f78d8292488..ede911f7ac7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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:
diff --git a/gdb/dwarf2/read.c b/gdb/dwarf2/read.c
index 91a6803bf3b..1813085d0d7 100644
--- a/gdb/dwarf2/read.c
+++ b/gdb/dwarf2/read.c
@@ -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)
{