X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fp-lang.c;h=0cf1c6c16ca614da5f77737d357c5199c9b445ae;hb=086baaf1346f07acfb6708e8c6cb79274241488b;hp=9b9f19b69cf2a2586547564bcaceae8c1849cb4a;hpb=4be290b2517839872ef7de47230be8dbd291a7e5;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/p-lang.c b/gdb/p-lang.c index 9b9f19b69c..0cf1c6c16c 100644 --- a/gdb/p-lang.c +++ b/gdb/p-lang.c @@ -31,6 +31,8 @@ #include "value.h" #include #include "c-lang.h" +#include "gdbarch.h" +#include "cli/cli-style.h" /* All GPC versions until now (2007-09-27) also define a symbol called '_p_initialize'. Check for the presence of this symbol first. */ @@ -291,7 +293,9 @@ pascal_printstr (struct ui_file *stream, struct type *type, in_quotes = 0; } pascal_printchar (current_char, type, stream); - fprintf_filtered (stream, " ", reps); + fprintf_filtered (stream, " %p[%p]", + metadata_style.style ().ptr (), + reps, nullptr); i = rep1 - 1; things_printed += options->repeat_count_threshold; need_comma = 1; @@ -462,7 +466,6 @@ extern const struct language_defn pascal_language_defn = pascal_language_arch_info, default_print_array_index, default_pass_by_reference, - default_get_string, c_watch_location_expression, NULL, /* la_compare_symbol_for_completion */ iterate_over_symbols,