From 741d7538b7540fea1086fe6ab962227d2cf7418e Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sat, 2 Mar 2019 12:05:57 -0700 Subject: Remove minsym termination I was curious what used the terminating "null" minimal symbol; and after looking I could not find anything. This patch removes terminate_minimal_symbol_table and the extra minimal symbol that is allocated for it. gdb/ChangeLog 2019-03-15 Tom Tromey * symfile.c (reread_symbols): Update. * objfiles.c (objfile::objfile): Update. * minsyms.h (terminate_minimal_symbol_table): Don't declare. * minsyms.c (lookup_minimal_symbol_by_pc_section): Update comment. (minimal_symbol_reader::install): Update. (terminate_minimal_symbol_table): Remove. * jit.c (jit_object_close_impl): Update. --- gdb/ChangeLog | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ceedf53..e1adb08 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,16 @@ 2019-03-15 Tom Tromey + * symfile.c (reread_symbols): Update. + * objfiles.c (objfile::objfile): Update. + * minsyms.h (terminate_minimal_symbol_table): Don't declare. + * minsyms.c (lookup_minimal_symbol_by_pc_section): Update + comment. + (minimal_symbol_reader::install): Update. + (terminate_minimal_symbol_table): Remove. + * jit.c (jit_object_close_impl): Update. + +2019-03-15 Tom Tromey + * minsyms.c (minimal_symbol_reader::record_full): Remove some initializations. -- cgit v1.1