aboutsummaryrefslogtreecommitdiff
path: root/gdb/minsyms.h
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-03-02 12:05:57 -0700
committerTom Tromey <tom@tromey.com>2019-03-15 16:02:08 -0600
commit741d7538b7540fea1086fe6ab962227d2cf7418e (patch)
treee71eac2f51a9c6b88294567242b3320eca0edc26 /gdb/minsyms.h
parent788c80d1aff685e66b8105ddc7451cfa6a03bf1d (diff)
downloadfsf-binutils-gdb-741d7538b7540fea1086fe6ab962227d2cf7418e.zip
fsf-binutils-gdb-741d7538b7540fea1086fe6ab962227d2cf7418e.tar.gz
fsf-binutils-gdb-741d7538b7540fea1086fe6ab962227d2cf7418e.tar.bz2
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 <tom@tromey.com> * 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.
Diffstat (limited to 'gdb/minsyms.h')
-rw-r--r--gdb/minsyms.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/gdb/minsyms.h b/gdb/minsyms.h
index 532436c..3e414f6 100644
--- a/gdb/minsyms.h
+++ b/gdb/minsyms.h
@@ -148,13 +148,6 @@ class minimal_symbol_reader
int m_msym_count;
};
-/* Create the terminating entry of OBJFILE's minimal symbol table.
- If OBJFILE->msymbols is zero, allocate a single entry from
- OBJFILE->objfile_obstack; otherwise, just initialize
- OBJFILE->msymbols[OBJFILE->minimal_symbol_count]. */
-
-void terminate_minimal_symbol_table (struct objfile *objfile);
-
/* Return whether MSYMBOL is a function/method. If FUNC_ADDRESS_P is