diff options
author | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-06-10 21:48:04 +0000 |
---|---|---|
committer | Jan Kratochvil <jan.kratochvil@redhat.com> | 2011-06-10 21:48:04 +0000 |
commit | 44b13c5a41d3b0fc2f122071e8c64987564dbf21 (patch) | |
tree | e151362865543474a1b08449bee91967fd38f77b /gdb/psymtab.h | |
parent | 6c30d220f19d7f4fe197fa5f62a472b2e5e84d7c (diff) | |
download | gdb-44b13c5a41d3b0fc2f122071e8c64987564dbf21.zip gdb-44b13c5a41d3b0fc2f122071e8c64987564dbf21.tar.gz gdb-44b13c5a41d3b0fc2f122071e8c64987564dbf21.tar.bz2 |
gdb/
Code cleanup.
* dwarf2read.c (dw2_map_symbol_filenames): Use symbol_filename_ftype
for fun.
* psymtab.c (map_symbol_filenames_psymtab)
(map_partial_symbol_filenames): Likewise.
* psymtab.h: Include symfile.h.
(map_partial_symbol_filenames): Use symbol_filename_ftype for fun.
* symfile.h (symbol_filename_ftype): New.
(struct quick_symbol_functions): Use symbol_filename_ftype for fun of
map_symbol_filenames, clarify more the naming in comment.
Diffstat (limited to 'gdb/psymtab.h')
-rw-r--r-- | gdb/psymtab.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/psymtab.h b/gdb/psymtab.h index 086ff2f..4d7f6d6 100644 --- a/gdb/psymtab.h +++ b/gdb/psymtab.h @@ -20,6 +20,8 @@ #ifndef PSYMTAB_H #define PSYMTAB_H +#include "symfile.h" + /* A bcache for partial symbols. */ struct psymbol_bcache; @@ -31,9 +33,7 @@ extern struct bcache *psymbol_bcache_get_bcache (struct psymbol_bcache *); void expand_partial_symbol_names (int (*fun) (const char *, void *), void *data); -void map_partial_symbol_filenames (void (*) (const char *, const char *, - void *), - void *); +void map_partial_symbol_filenames (symbol_filename_ftype *fun, void *data); extern const struct quick_symbol_functions psym_functions; |