X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Flanguage.h;h=aa0523b4899b51ecab8ef7ab7f1d43cbee1f2ac8;hb=8901a3cd7d56bb4e90007759a66951fffe7ce38f;hp=9306a82a2041c5a7e2235eafb88a31f8469904b8;hpb=cc73bb8c7a49a308ae56e27a88fcb173ced0f1a5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/language.h b/gdb/language.h index 9306a82a20..aa0523b489 100644 --- a/gdb/language.h +++ b/gdb/language.h @@ -198,7 +198,7 @@ struct language_defn /* Print a type using syntax appropriate for this language. */ - void (*la_print_type) (struct type *, char *, struct ui_file *, int, + void (*la_print_type) (struct type *, const char *, struct ui_file *, int, int); /* Print a typedef using syntax appropriate for this language. @@ -233,6 +233,7 @@ struct language_defn 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. */ @@ -401,9 +402,9 @@ extern enum language set_language (enum language); #define LA_PRINT_TYPEDEF(type,new_symbol,stream) \ (current_language->la_print_typedef(type,new_symbol,stream)) -#define LA_VAL_PRINT(type,valaddr,offset,addr,stream,recurse,options) \ +#define LA_VAL_PRINT(type,valaddr,offset,addr,stream,val,recurse,options) \ (current_language->la_val_print(type,valaddr,offset,addr,stream, \ - recurse,options)) + val,recurse,options)) #define LA_VALUE_PRINT(val,stream,options) \ (current_language->la_value_print(val,stream,options))