Eliminate exceptions.c:print_any_exception.
authorPedro Alves <palves@redhat.com>
Mon, 14 Jul 2014 18:55:30 +0000 (19:55 +0100)
committerPedro Alves <palves@redhat.com>
Mon, 14 Jul 2014 19:29:30 +0000 (20:29 +0100)
commitfeefc97b5942325a8b7793e7ae089d87ecdee11c
treed8ffc88fd361b34864c73938e2f0ac5198315be4
parentc933f875f4416a2a06c14fb9e483dd888a948eb2
Eliminate exceptions.c:print_any_exception.

exception_print and exception_fprintf call print_flush, which does all the
same flushing and annotation things that print_any_exception does, and more.

gdb/
2014-07-14  Pedro Alves  <palves@redhat.com>

* exceptions.c (print_any_exception): Delete.
(catch_exceptions_with_msg): Use exception_print instead of
print_any_exception.
(catch_errors): Use exception_fprintf instead of
print_any_exception.
(catch_command_errors, catch_command_errors_const): Use
exception_print instead of print_any_exception.
gdb/ChangeLog
gdb/exceptions.c