Add end_psymtab_common, have all debug info readers call it.
authorDoug Evans <xdje42@gmail.com>
Sat, 15 Aug 2015 23:46:20 +0000 (16:46 -0700)
committerDoug Evans <xdje42@gmail.com>
Sat, 15 Aug 2015 23:46:20 +0000 (16:46 -0700)
commit8763cedeec7f0a1daea41c2231bda165652e273b
tree9ae1bd73d9b1b1883e2664e8e38603d6dcbdbd7f
parent51cdc99310171d6c53d2d00103a0ce34374d0b9b
Add end_psymtab_common, have all debug info readers call it.

gdb/ChangeLog:

* dbxread.c (dbx_end_psymtab): Renamed from end_psymtab.  All callers
updated.  Call end_psymtab_common.
* dwarf2read.c (process_psymtab_comp_unit_reader): Call
end_psymtab_common.
(build_type_psymtabs_reader): Ditto.
* psympriv.h (sort_pst_symbols): Delete.
(end_psymtab_common): Declare.
* psymtab.c (sort_pst_symbols): Make static.
(end_psymtab_common): New function.
* xcoffread.c (xcoff_end_psymtab): Call end_psymtab_common.
gdb/ChangeLog
gdb/dbxread.c
gdb/dwarf2read.c
gdb/mdebugread.c
gdb/psympriv.h
gdb/psymtab.c
gdb/stabsread.h
gdb/symtab.h
gdb/xcoffread.c