diff options
author | Tom Tromey <tom@tromey.com> | 2021-03-20 17:23:40 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2021-03-20 17:23:45 -0600 |
commit | 3aa31ce7884f979c68d440a4352c8d69a3283f6c (patch) | |
tree | cd8cca0a29dab51523341631f0a229c3ec5a4c09 /gdb/ChangeLog | |
parent | 7b249e470a82063605c3789f4b2d0378400423de (diff) | |
download | fsf-binutils-gdb-3aa31ce7884f979c68d440a4352c8d69a3283f6c.zip fsf-binutils-gdb-3aa31ce7884f979c68d440a4352c8d69a3283f6c.tar.gz fsf-binutils-gdb-3aa31ce7884f979c68d440a4352c8d69a3283f6c.tar.bz2 |
Remove last objfile partial_symtab references from psymtab.c
This removes the last references to the partial_symtab via the objfile
from psymtab.c. require_partial_symbols is now a method on
psymbol_functions, and maintenance_print_psymbols is changed to use
dynamic_cast to verify that it is examining partial symbols.
gdb/ChangeLog
2021-03-20 Tom Tromey <tom@tromey.com>
* psymtab.c (psymbol_functions::require_partial_symbols): Rename.
(psymbol_functions::find_pc_sect_psymtab): Rename.
(psymbol_functions::find_pc_sect_compunit_symtab)
(maintenance_print_psymbols, maintenance_check_psymtabs): Update.
* psympriv.h (struct psymbol_functions) <require_partial_symbols>:
Declare new method.
<get_partial_symtabs, find_pc_sect_psymtab>: Likewise.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index bc746a1..3abf801 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,15 @@ 2021-03-20 Tom Tromey <tom@tromey.com> + * psymtab.c (psymbol_functions::require_partial_symbols): Rename. + (psymbol_functions::find_pc_sect_psymtab): Rename. + (psymbol_functions::find_pc_sect_compunit_symtab) + (maintenance_print_psymbols, maintenance_check_psymtabs): Update. + * psympriv.h (struct psymbol_functions) <require_partial_symbols>: + Declare new method. + <get_partial_symtabs, find_pc_sect_psymtab>: Likewise. + +2021-03-20 Tom Tromey <tom@tromey.com> + * xcoffread.c (xcoff_start_psymtab): Add partial_symtabs parameter. (xcoff_end_psymtab, scan_xcoff_symtab): Update. * psymtab.c (partial_symtab::partial_symtab): Add partial_symtabs |