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.
This commit is contained in:
parent
d9680e739f
commit
8e704927af
6 changed files with 34 additions and 12 deletions
|
@ -1900,7 +1900,7 @@ lookup_block_symbol (const struct block *block, const char *name,
|
|||
void
|
||||
iterate_over_symbols (const struct block *block, const char *name,
|
||||
const domain_enum domain,
|
||||
int (*callback) (struct symbol *, void *),
|
||||
symbol_found_callback_ftype *callback,
|
||||
void *data)
|
||||
{
|
||||
while (block)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue