X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fp-lang.c;h=5c1b273e7f5260718b49347a6925dcc2f0e185b3;hb=bd920864f3dc2cad376989a642ab774aef6b2fce;hp=869c89e926a6f1260e9e20638ba65d408f403765;hpb=9a49ad8c522a1ce83645d477bf6ced574c3bf651;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/p-lang.c b/gdb/p-lang.c index 869c89e926..5c1b273e7f 100644 --- a/gdb/p-lang.c +++ b/gdb/p-lang.c @@ -399,18 +399,11 @@ extern const struct language_data pascal_language_data = pascal_printstr, /* Function to print string constant */ pascal_emit_char, /* Print a single char */ pascal_print_typedef, /* Print a typedef using appropriate syntax */ - pascal_value_print_inner, /* la_value_print_inner */ - pascal_value_print, /* Print a top-level value */ "this", /* name_of_this */ false, /* la_store_sym_names_in_linkage_form_p */ - basic_lookup_symbol_nonlocal, /* lookup_symbol_nonlocal */ pascal_op_print_tab, /* expression operators for printing */ 1, /* c-style arrays */ 0, /* String lower bound */ - default_word_break_characters, - default_collect_symbol_completion_matches, - c_watch_location_expression, - NULL, /* la_compare_symbol_for_completion */ &default_varobj_ops, pascal_is_string_type_p, "{...}" /* la_struct_too_deep_ellipsis */ @@ -482,6 +475,23 @@ public: { pascal_print_type (type, varstring, stream, show, level, flags); } + + /* See language.h. */ + + void value_print (struct value *val, struct ui_file *stream, + const struct value_print_options *options) const override + { + return pascal_value_print (val, stream, options); + } + + /* See language.h. */ + + void value_print_inner + (struct value *val, struct ui_file *stream, int recurse, + const struct value_print_options *options) const override + { + return pascal_value_print_inner (val, stream, recurse, options); + } }; /* Single instance of the Pascal language class. */