From 122b53ea6a99c8811fb9cb84869b949b1ac55b22 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 21 May 2018 13:28:16 -0600 Subject: Remove output_command_const I happened to notice that output_command_const still exists, but is not needed any more -- commands are always const-correct now. This patch removes this leftover. 2018-05-21 Tom Tromey * printcmd.c (output_command): Remove. (output_command_const): Rename to output_command. * valprint.h (output_command): Rename from output_command_const. * tracepoint.c (trace_dump_actions): Call output_command. --- gdb/tracepoint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/tracepoint.c') diff --git a/gdb/tracepoint.c b/gdb/tracepoint.c index 9261fe2..369f075 100644 --- a/gdb/tracepoint.c +++ b/gdb/tracepoint.c @@ -2713,7 +2713,7 @@ trace_dump_actions (struct command_line *action, } printf_filtered ("%s = ", exp); - output_command_const (exp, from_tty); + output_command (exp, from_tty); printf_filtered ("\n"); } action_exp = next_comma; -- cgit v1.1