diff --git a/gdb/m2-exp.y b/gdb/m2-exp.y index ae92d96faf..85488cf440 100644 --- a/gdb/m2-exp.y +++ b/gdb/m2-exp.y @@ -1306,7 +1306,7 @@ m2_printstr (stream, string, length, force_ellipses) fputs_filtered ("\", ", stream); in_quotes = 0; } - c_printchar (string[i], stream); + m2_printchar (string[i], stream); fprintf_filtered (stream, " ", reps); i = rep1 - 1; things_printed += repeat_count_threshold;