diff options
author | Pedro Alves <pedro@codesourcery.com> | 2007-03-28 00:12:15 +0000 |
---|---|---|
committer | Pedro Alves <pedro@codesourcery.com> | 2007-03-28 00:12:15 +0000 |
commit | 2b0fa599d4a66e6bcbe07a603c98443851c16cf8 (patch) | |
tree | 59236eac428c14e4f98dc5b21d45e1b0872f8adf /gdb/ada-lang.h | |
parent | 39b68c55e3b76a4136802b6170a298bbce894720 (diff) | |
download | gdb-2b0fa599d4a66e6bcbe07a603c98443851c16cf8.tar.gz |
* linespec.c: Include language.h.
(find_methods): Add language parameter. Call
lookup_symbol_in_language. Pass language down.
(add_matching_methods): Likewise. Call
lookup_symbol_in_language.
(add_constructors): Likewise.
(find_method): Pass sym_class to collect_methods.
(collect_methods): Add sym_class parameter. Pass language
down.
* symtab.c (lookup_symbol): Rename to ...
(lookup_symbol_in_language): ... this. Add language
parameter. Use passed language instead of current_language.
(lookup_symbol): New as wrapper around
lookup_symbol_in_language.
(lookup_symbol_aux): Add language parameter. Use passed
language instead of current_language.
(search_symbols): Indent.
* symtab.h (enum language): Forward declare.
(lookup_symbol_in_language): Declare.
(lookup_symbol): Update description.
* ada-lang.h (lookup_symbol_in_language): Remove declaration.
* ada-lang.c (restore_language): Remove.
(lookup_symbol_in_language): Remove.
Diffstat (limited to 'gdb/ada-lang.h')
-rw-r--r-- | gdb/ada-lang.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/ada-lang.h b/gdb/ada-lang.h index ac6f5a4511c..c3873ebc581 100644 --- a/gdb/ada-lang.h +++ b/gdb/ada-lang.h @@ -474,17 +474,6 @@ extern void ada_reset_thread_registers (void); extern int ada_build_task_list (void); -/* Look up a symbol by name using the search conventions of - a specific language (optional block, optional symtab). - FIXME: Should be symtab.h. */ - -extern struct symbol *lookup_symbol_in_language (const char *, - const struct block *, - domain_enum, - enum language, - int *, - struct symtab **); - extern int ada_exception_catchpoint_p (struct breakpoint *b); extern struct symtab_and_line |