Overload catch_command_errors
authorTom Tromey <tom@tromey.com>
Tue, 12 Sep 2017 20:14:33 +0000 (14:14 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 20 Sep 2017 22:04:11 +0000 (16:04 -0600)
commit013af3fc8eba48d081f0e83303cd800097e5b7a8
tree9d3065d1f617d1e56d7ff62f156709f4a2a7f35e
parent06871ae84096ed1672eb76f44cea4d5dbe79ae24
Overload catch_command_errors

This changes catch_command_errors_const to be an overload of
catch_command_errors, which may mildly help future constification
efforts.

Tested by rebuilding.

gdb/ChangeLog
2017-09-20  Tom Tromey  <tom@tromey.com>

* main.c (catch_command_errors): Rename from
catch_command_errors_const.
(captured_main_1): Update.
gdb/ChangeLog
gdb/main.c