diff options
author | Tom Tromey <tom@tromey.com> | 2023-01-01 12:14:21 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-01-08 18:40:21 -0700 |
commit | 245703b3ce7522ddbf9290267129878ad8c6c725 (patch) | |
tree | be4999d3fa2bd825cc0e2f3cc31bee3c04779bf3 /gdb/psymtab.c | |
parent | aecbdf5f34bcb781bd3191bfbe0a32a129391e93 (diff) | |
download | fsf-binutils-gdb-245703b3ce7522ddbf9290267129878ad8c6c725.zip fsf-binutils-gdb-245703b3ce7522ddbf9290267129878ad8c6c725.tar.gz fsf-binutils-gdb-245703b3ce7522ddbf9290267129878ad8c6c725.tar.bz2 |
Remove two quick_symbol_functions methods
quick_symbol_functions::read_partial_symbols is no longer implemented,
so both it and quick_symbol_functions::can_lazily_read_symbols can be
removed. This allows for other functions to be removed as well.
Note that SYMFILE_NO_READ is now pretty much dead. I haven't removed
it here -- but could if that's desirable. I tend to think that this
functionality would be better implemented in the core; but whenever I
dive into the non-DWARF readers it is pretty depressing.
Diffstat (limited to 'gdb/psymtab.c')
-rw-r--r-- | gdb/psymtab.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/psymtab.c b/gdb/psymtab.c index ca1bcf1..3395907 100644 --- a/gdb/psymtab.c +++ b/gdb/psymtab.c @@ -81,7 +81,6 @@ psymtab_storage::install_psymtab (partial_symtab *pst) psymtab_storage::partial_symtab_range psymbol_functions::partial_symbols (struct objfile *objfile) { - gdb_assert ((objfile->flags & OBJF_PSYMTABS_READ) != 0); return m_partial_symtabs->range (); } |