diff options
author | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-19 15:49:14 +0000 |
---|---|---|
committer | Ulrich Weigand <uweigand@de.ibm.com> | 2008-05-19 15:49:14 +0000 |
commit | 21b556f400421068d5d1928b65750a909c2f716e (patch) | |
tree | 451d7a663dad6936ad29449000aff2b6b6d030c1 /gdb/ada-exp.y | |
parent | 6ffd79000b45e77b3625143932ffbf781b6aecab (diff) | |
download | gdb-21b556f400421068d5d1928b65750a909c2f716e.zip gdb-21b556f400421068d5d1928b65750a909c2f716e.tar.gz gdb-21b556f400421068d5d1928b65750a909c2f716e.tar.bz2 |
* language.h (struct language_defn): Remove SYMTAB parameter from
la_lookup_symbol_nonlocal callback function pointer.
* ada-lang.h (ada_lookup_encoded_symbol): Remove SYMTAB parameter.
(ada_lookup_encoded_symbol): Likewise.
* ada-lang.c (ada_lookup_encoded_symbol): Remove SYMTAB parameter.
Always call fixup_symbol_section.
(ada_lookup_symbol): Remove SYMTAB parameter.
(ada_lookup_symbol_nonlocal): Likewise.
* ada-exp.y (write_object_renaming): Update.
(find_primitive_type): Likewise.
* cp-support.h (cp_lookup_symbol_nonlocal): Remove SYMTAB parameter.
(cp_lookup_symbol_namespace): Likewise.
* cp-namespace.c (lookup_namespace_scope): Remove SYMTAB parameter.
(lookup_symbol_file): Likewise.
(lookup_possible_namespace_symbol): Likewise.
(cp_lookup_symbol_nonlocal): Likewise.
(cp_lookup_symbol_namespace): Likewise.
(cp_lookup_nested_type): Update.
* scm-valprint.c (scm_inferior_print): Update.
* valops.c (value_maybe_namespace_elt): Update.
* solist.h (struct target_so_ops): Remove SYMTAB parameter from
lookup_lib_global_symbol callback function pointer.
(solib_global_lookup): Remove SYMTAB parameter.
* solib.c (solib_global_lookup): Remove SYMTAB parameter.
* solib-svr4.c (elf_lookup_lib_symbol): Likewise.
* symtab.h (basic_lookup_symbol_nonlocal): Remove SYMTAB parameter.
(lookup_symbol_static): Likewise.
(lookup_symbol_global): Likewise.
(lookup_symbol_aux_block): Likewise.
(lookup_global_symbol_from_objfile): Likewise.
* symtab.c (lookup_symbol_aux): Remove SYMTAB parameter.
(lookup_symbol_aux_local): Likewise.
(lookup_symbol_aux_block): Likewise.
(lookup_symbol_aux_symtabs): Likewise.
(lookup_symbol_aux_psymtabs): Likewise.
(lookup_global_symbol_from_objfile): Likewise.
(basic_lookup_symbol_nonlocal): Likewise.
(lookup_symbol_static): Likewise.
(lookup_symbol_global): Likewise.
(lookup_symbol_in_language): Do not pass SYMTAB to lookup_symbol_aux.
Diffstat (limited to 'gdb/ada-exp.y')
-rw-r--r-- | gdb/ada-exp.y | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gdb/ada-exp.y b/gdb/ada-exp.y index 1f7f13f..72b554e 100644 --- a/gdb/ada-exp.y +++ b/gdb/ada-exp.y @@ -869,7 +869,7 @@ write_object_renaming (struct block *orig_left_context, name = obsavestring (renamed_entity, renamed_entity_len, &temp_parse_space); sym = ada_lookup_encoded_symbol (name, orig_left_context, VAR_DOMAIN, - &block, NULL); + &block); if (sym == NULL) error (_("Could not find renamed variable: %s"), ada_decode (name)); else if (SYMBOL_CLASS (sym) == LOC_TYPEDEF) @@ -941,8 +941,7 @@ write_object_renaming (struct block *orig_left_context, renaming_expr = end; index_sym = ada_lookup_encoded_symbol (index_name, NULL, - VAR_DOMAIN, &block, - NULL); + VAR_DOMAIN, &block); if (index_sym == NULL) error (_("Could not find %s"), index_name); else if (SYMBOL_CLASS (index_sym) == LOC_TYPEDEF) @@ -1094,7 +1093,7 @@ find_primitive_type (char *name) (char *) alloca (strlen (name) + sizeof ("standard__")); strcpy (expanded_name, "standard__"); strcat (expanded_name, name); - sym = ada_lookup_symbol (expanded_name, NULL, VAR_DOMAIN, NULL, NULL); + sym = ada_lookup_symbol (expanded_name, NULL, VAR_DOMAIN, NULL); if (sym != NULL && SYMBOL_CLASS (sym) == LOC_TYPEDEF) type = SYMBOL_TYPE (sym); } |