diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-21 13:28:16 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-21 13:29:10 -0600 |
commit | 122b53ea6a99c8811fb9cb84869b949b1ac55b22 (patch) | |
tree | 786769bb4e207268dc60bc7f39d038f1b57e7747 /gdb/valprint.h | |
parent | bc18fbb575437dd10089ef4619e46c0b9a93097d (diff) | |
download | gdb-122b53ea6a99c8811fb9cb84869b949b1ac55b22.zip gdb-122b53ea6a99c8811fb9cb84869b949b1ac55b22.tar.gz gdb-122b53ea6a99c8811fb9cb84869b949b1ac55b22.tar.bz2 |
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 <tom@tromey.com>
* 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.
Diffstat (limited to 'gdb/valprint.h')
-rw-r--r-- | gdb/valprint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/valprint.h b/gdb/valprint.h index f005c31..1f62039 100644 --- a/gdb/valprint.h +++ b/gdb/valprint.h @@ -210,7 +210,7 @@ extern void generic_printstr (struct ui_file *stream, struct type *type, arguments passed to all command implementations, except ARGS is const. */ -extern void output_command_const (const char *args, int from_tty); +extern void output_command (const char *args, int from_tty); extern int val_print_scalar_type_p (struct type *type); |