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/symtab.h | |
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/symtab.h')
-rw-r--r-- | gdb/symtab.h | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gdb/symtab.h b/gdb/symtab.h index 37ce3f4..0a970df 100644 --- a/gdb/symtab.h +++ b/gdb/symtab.h @@ -1028,8 +1028,7 @@ extern struct symbol *lookup_symbol (const char *, const struct block *, extern struct symbol *basic_lookup_symbol_nonlocal (const char *, const char *, const struct block *, - const domain_enum, - struct symtab **); + const domain_enum); /* Some helper functions for languages that need to write their own lookup_symbol_nonlocal functions. */ @@ -1040,8 +1039,7 @@ extern struct symbol *basic_lookup_symbol_nonlocal (const char *, extern struct symbol *lookup_symbol_static (const char *name, const char *linkage_name, const struct block *block, - const domain_enum domain, - struct symtab **symtab); + const domain_enum domain); /* Lookup a symbol in all files' global blocks (searching psymtabs if necessary). */ @@ -1049,8 +1047,7 @@ extern struct symbol *lookup_symbol_static (const char *name, extern struct symbol *lookup_symbol_global (const char *name, const char *linkage_name, const struct block *block, - const domain_enum domain, - struct symtab **symtab); + const domain_enum domain); /* Lookup a symbol within the block BLOCK. This, unlike lookup_symbol_block, will set SYMTAB and BLOCK_FOUND correctly, and @@ -1059,8 +1056,7 @@ extern struct symbol *lookup_symbol_global (const char *name, extern struct symbol *lookup_symbol_aux_block (const char *name, const char *linkage_name, const struct block *block, - const domain_enum domain, - struct symtab **symtab); + const domain_enum domain); /* Lookup a partial symbol. */ @@ -1391,8 +1387,7 @@ extern /*const */ char *main_name (void); struct symbol *lookup_global_symbol_from_objfile (const struct objfile *objfile, const char *name, const char *linkage_name, - const domain_enum domain, - struct symtab **symtab); + const domain_enum domain); extern struct symtabs_and_lines expand_line_sal (struct symtab_and_line sal); |