aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-21 23:30:47 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:46 -0600
commit93b8bea4143cafae79076076c64aaa4c46a9b73c (patch)
treed4079f449410946158bf5e421bea21953e7bb24c /gdb/ChangeLog
parentf62f6af5da07eba0ac5425365da3d82c43f3445c (diff)
downloadgdb-93b8bea4143cafae79076076c64aaa4c46a9b73c.zip
gdb-93b8bea4143cafae79076076c64aaa4c46a9b73c.tar.gz
gdb-93b8bea4143cafae79076076c64aaa4c46a9b73c.tar.bz2
Set list_in_scope later in DWARF reader
Currently the DWARF reader sets the list_in_scope member of the CU when first starting to process symbols. Future changes will make this assert -- code will not be able to refer to these lists until after start_symtab has been called. This patch prepares for the problem by arranging to initialize list_in_scope in dwarf2_start_symtab. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * dwarf2read.c (process_full_comp_unit): Do not set list_in_scope. (process_full_type_unit): Likewise. (dwarf2_start_symtab): Set list_in_scope.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 96b54fb..08c7390 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2018-07-20 Tom Tromey <tom@tromey.com>
+ * dwarf2read.c (process_full_comp_unit): Do not set list_in_scope.
+ (process_full_type_unit): Likewise.
+ (dwarf2_start_symtab): Set list_in_scope.
+
+2018-07-20 Tom Tromey <tom@tromey.com>
+
* dwarf2read.c (process_psymtab_comp_unit_reader)
(build_type_psymtabs_reader): Do not set list_in_scope.