]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
Change end_psymtab_common to a method
authorTom Tromey <tom@tromey.com>
Sun, 1 Nov 2020 16:51:13 +0000 (09:51 -0700)
committerTom Tromey <tom@tromey.com>
Sun, 1 Nov 2020 16:51:15 +0000 (09:51 -0700)
commitae7754b256f1f230baec364d90561c3ca34f7e64
treece37e71c6106a8e4937f096cd688e1cd48565ab4
parent0684bb51b5207aed1d76098ebaca6243f9c168e7
Change end_psymtab_common to a method

This changes end_psymtab_common to be a method on partial_symtab.
This seems a little cleaner to me.

gdb/ChangeLog
2020-11-01  Tom Tromey  <tom@tromey.com>

* dbxread.c (dbx_end_psymtab): Update.
* dwarf2/read.c (process_psymtab_comp_unit_reader)
(build_type_psymtabs_reader): Update.
* xcoffread.c (xcoff_end_psymtab): Update.
* ctfread.c (scan_partial_symbols): Update.
* psymtab.c (sort_pst_symbols): Remove.
(partial_symtab::end): Rename from end_psymtab_common.  Inline
sort_pst_symbols.
* psympriv.h (struct partial_symtab) <end>: New method.
(end_psymtab_common): Don't declare.
gdb/ChangeLog
gdb/ctfread.c
gdb/dbxread.c
gdb/dwarf2/read.c
gdb/psympriv.h
gdb/psymtab.c
gdb/xcoffread.c