X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Flanguage.h;h=76dad325b5b740a9c73fd007a5bb669db13d589d;hb=33fbcbee30e6565db27a4c5076ff61c9fc8e0744;hp=d4cce9578da8ad5505a58bd6ddc2fdee4e923ae2;hpb=8e704927af04cf5567a4f3bb715328e383505214;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/language.h b/gdb/language.h index d4cce9578d..76dad325b5 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -143,7 +143,7 @@ struct language_arch_info LOOKUP_NAME should be the name of an entity after it has been transformed for lookup. */ -typedef int (*symbol_name_match_p_ftype) (const char *symbol_search_name, +typedef int (*symbol_name_cmp_ftype) (const char *symbol_search_name, const char *lookup_name); /* Structure tying together assorted information about a language. */ @@ -240,17 +240,17 @@ struct language_defn OPTIONS are the formatting options to be used when printing. */ - int (*la_val_print) (struct type *type, - const gdb_byte *contents, - int embedded_offset, CORE_ADDR address, - struct ui_file *stream, int recurse, - const struct value *val, - const struct value_print_options *options); + void (*la_val_print) (struct type *type, + const gdb_byte *contents, + int embedded_offset, CORE_ADDR address, + struct ui_file *stream, int recurse, + const struct value *val, + const struct value_print_options *options); /* Print a top-level value using syntax appropriate for this language. */ - int (*la_value_print) (struct value *, struct ui_file *, - const struct value_print_options *); + void (*la_value_print) (struct value *, struct ui_file *, + const struct value_print_options *); /* PC is possibly an unknown languages trampoline. If that PC falls in a trampoline belonging to this language, @@ -334,8 +334,7 @@ struct language_defn This field may be NULL, in which case strcmp_iw will be used to perform the matching. */ - symbol_name_match_p_ftype (*la_get_symbol_name_match_p) - (const char *lookup_name); + symbol_name_cmp_ftype (*la_get_symbol_name_cmp) (const char *lookup_name); /* Find all symbols in the current program space matching NAME in DOMAIN, according to this language's rules.