aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.c
diff options
context:
space:
mode:
authorGary Benson <gary@redhat.com>2012-02-01 16:10:31 +0000
committerGary Benson <gary@redhat.com>2012-02-01 16:10:31 +0000
commit8e704927af04cf5567a4f3bb715328e383505214 (patch)
tree0ae55b7b42756d442c69b06563d5592bc5090875 /gdb/ada-lang.c
parentd9680e739f79d8f9061f0404efb2a8477a89c83b (diff)
downloadgdb-8e704927af04cf5567a4f3bb715328e383505214.zip
gdb-8e704927af04cf5567a4f3bb715328e383505214.tar.gz
gdb-8e704927af04cf5567a4f3bb715328e383505214.tar.bz2
2012-02-01 Gary Benson <gbenson@redhat.com>
* symtab.h (symbol_name_match_p_ftype): New typedef. (iterate_over_symbols): Use the above. * symtab.c (iterate_over_symbols): Likewise. * language.h (language_defn->la_iterate_over_symbols): Likewise. * ada-lang.c (ada_iterate_over_symbols): Likewise. * linespec.c (iterate_over_all_matching_symtabs): Likewise. (iterate_name_matcher): Document return values. (collect_one_symbol): Likewise. (collect_function_symbols): Likewise. (collect_symbols): Likewise.
Diffstat (limited to 'gdb/ada-lang.c')
-rw-r--r--gdb/ada-lang.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index de165fa..6ea013c 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -5102,7 +5102,7 @@ ada_name_for_lookup (const char *name)
static void
ada_iterate_over_symbols (const struct block *block,
const char *name, domain_enum domain,
- int (*callback) (struct symbol *, void *),
+ symbol_found_callback_ftype *callback,
void *data)
{
int ndefs, i;