aboutsummaryrefslogtreecommitdiff
path: root/gdb/ada-lang.h
diff options
context:
space:
mode:
authorDoug Evans <dje@google.com>2013-03-05 21:15:34 +0000
committerDoug Evans <dje@google.com>2013-03-05 21:15:34 +0000
commit4eeaa230f415805552e4fdb4869c149175a6d7f0 (patch)
tree65b6e9e11c1d89a56a560461d1768d53550fca4c /gdb/ada-lang.h
parent62b0d0d5f3b116a7e7014ef50d3103bbef7a89de (diff)
downloadgdb-4eeaa230f415805552e4fdb4869c149175a6d7f0.zip
gdb-4eeaa230f415805552e4fdb4869c149175a6d7f0.tar.gz
gdb-4eeaa230f415805552e4fdb4869c149175a6d7f0.tar.bz2
* ada-lang.c (ada_lookup_symbol_list_worker): New function, contents
of old ada_lookup_symbol_list. In !full_search case, don't search superblocks. (ada_lookup_symbol_list): Delete arg full_search, all callers updated. Call ada_lookup_symbol_list_worker. (ada_iterate_over_symbols): Call ada_lookup_symbol_list_worker. * ada-lang.h (ada_lookup_symbol_list): Update. * language.h (language_defn): Update comment for la_iterate_over_symbols. * linespec.c (iterate_over_file_blocks): New function. (iterate_over_all_matching_symtabs): Call it. (lookup_prefix_sym): Ditto. (get_current_search_block): New function. (get_search_block): Delete. (find_label_symbols): Call get_current_search_block. (add_matching_symbols_to_info): Call iterate_over_file_blocks. * symtab.c (iterate_over_symbols): Don't search superblocks.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r--gdb/ada-lang.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h
index 418f8da..55c0a81 100644
--- a/gdb/ada-lang.h
+++ b/gdb/ada-lang.h
@@ -228,8 +228,7 @@ extern enum language ada_update_initial_language (enum language);
extern void clear_ada_sym_cache (void);
extern int ada_lookup_symbol_list (const char *, const struct block *,
- domain_enum, struct ada_symbol_info**,
- int);
+ domain_enum, struct ada_symbol_info**);
extern char *ada_fold_name (const char *);