aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-22 14:23:32 -0600
committerTom Tromey <tom@tromey.com>2018-07-20 09:42:51 -0600
commit74c72eac237232e9c23c2b4e21d24941d804dae9 (patch)
tree2b4ab138db713b1248e41cebd1a11d487813be45 /gdb/ChangeLog
parentda6580e59c5c2c5dda086f9c407688e79377e49e (diff)
downloadgdb-74c72eac237232e9c23c2b4e21d24941d804dae9.zip
gdb-74c72eac237232e9c23c2b4e21d24941d804dae9.tar.gz
gdb-74c72eac237232e9c23c2b4e21d24941d804dae9.tar.bz2
Remove reset_symtab_globals
This patch arranges for the remaining buildsym global -- buildsym_compunit -- to only be cleared by the wrapper functions, not by methods on struct buildsym_compunit. In the process, reset_symtab_globals is removed. gdb/ChangeLog 2018-07-20 Tom Tromey <tom@tromey.com> * buildsym.c (reset_symtab_globals): Remove. (buildsym_compunit::end_symtab_from_static_block): Update. (buildsym_compunit::augment_type_symtab): Update. (end_symtab_from_static_block): Call free_buildsym_compunit. (augment_type_symtab, end_symtab, end_expandable_symtab): Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r--gdb/ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index b8fba47..62ac562 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,14 @@
2018-07-20 Tom Tromey <tom@tromey.com>
+ * buildsym.c (reset_symtab_globals): Remove.
+ (buildsym_compunit::end_symtab_from_static_block): Update.
+ (buildsym_compunit::augment_type_symtab): Update.
+ (end_symtab_from_static_block): Call free_buildsym_compunit.
+ (augment_type_symtab, end_symtab, end_expandable_symtab):
+ Likewise.
+
+2018-07-20 Tom Tromey <tom@tromey.com>
+
* arch-utils.c: Do not include buildsym.h.
* mipsread.c: Do not include buildsym.h.
* machoread.c: Do not include buildsym.h.