Make print_command_trace varargs
authorTom Tromey <tom@tromey.com>
Wed, 18 Apr 2018 21:40:57 +0000 (15:40 -0600)
committerTom Tromey <tom@tromey.com>
Fri, 4 May 2018 21:58:06 +0000 (15:58 -0600)
commit1263a9d5f1c6198cdb4e73bafe86ca451d35684d
treeec865758d5817f7babdd1eaef24c3cda4a3aaf5d
parent12973681f5d46a2407a8dc97c3352fa6c9971716
Make print_command_trace varargs

I noticed some code in execute_control_command_1 that could be
simplified by making print_command_trace a printf-like function.  This
patch makes this change.

ChangeLog
2018-05-04  Tom Tromey  <tom@tromey.com>

* top.c (execute_command): Update.
* cli/cli-script.h (print_command_lines): Now varargs.
* cli/cli-script.c (print_command_lines): Now varargs.
(execute_control_command_1) <case while_control, case if_control>:
Update.
gdb/ChangeLog
gdb/cli/cli-script.c
gdb/cli/cli-script.h
gdb/top.c
This page took 0.024893 seconds and 4 git commands to generate.