aboutsummaryrefslogtreecommitdiff
path: root/gdb/symfile.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2013-08-07 20:06:37 +0000
committerTom Tromey <tromey@redhat.com>2013-08-07 20:06:37 +0000
commitfa760f46b50745385bf9a738e55064e7b32430db (patch)
treedbebd7edd44b500f74a1d0ad7987b8cbc3925cd0 /gdb/symfile.h
parentbf6d8a91eac025c21b03d604bdb2e4b901c4c6bc (diff)
downloadgdb-fa760f46b50745385bf9a738e55064e7b32430db.zip
gdb-fa760f46b50745385bf9a738e55064e7b32430db.tar.gz
gdb-fa760f46b50745385bf9a738e55064e7b32430db.tar.bz2
remove unused qf method
After the previous patch in the series, nothing uses the "quick" method find_symbol_file. This patch removes it. Tested by rebuilding. * dwarf2read.c (dw2_get_primary_filename_reader): Remove. (dwarf2_gdb_index_functions): Update. * psymtab.c (find_symbol_file_from_partial): Remove. (psym_functions): Update. * symfile.h (struct quick_symbol_functions) <find_symbol_file>: Remove.
Diffstat (limited to 'gdb/symfile.h')
-rw-r--r--gdb/symfile.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/symfile.h b/gdb/symfile.h
index c36e6b3..4371cf4 100644
--- a/gdb/symfile.h
+++ b/gdb/symfile.h
@@ -220,11 +220,6 @@ struct quick_symbol_functions
void (*expand_symtabs_with_fullname) (struct objfile *objfile,
const char *fullname);
- /* Return the file name of the file holding the global symbol in OBJFILE
- named NAME. If no such symbol exists in OBJFILE, return NULL.
- Only file extension of returned filename is recognized. */
- const char *(*find_symbol_file) (struct objfile *objfile, const char *name);
-
/* Find global or static symbols in all tables that are in NAMESPACE
and for which MATCH (symbol name, NAME) == 0, passing each to
CALLBACK, reading in partial symbol tables as needed. Look