]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Remove reset_symtab_globals
authorTom Tromey <tom@tromey.com>
Tue, 22 May 2018 20:23:32 +0000 (14:23 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 20 Jul 2018 15:42:51 +0000 (09:42 -0600)
commit74c72eac237232e9c23c2b4e21d24941d804dae9
tree2b4ab138db713b1248e41cebd1a11d487813be45
parentda6580e59c5c2c5dda086f9c407688e79377e49e
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.
gdb/ChangeLog
gdb/buildsym.c