2005-01-14 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 15 Jan 2005 04:31:10 +0000 (04:31 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 15 Jan 2005 04:31:10 +0000 (04:31 +0000)
commitc6da7a6d7d775226b6a02c3c6f7a21b7fdf268d4
tree7f56f2282d342fe6ba5b119ee513cf2d4effd02d
parentd05559016da4d9698f5ccb6995f5ac8e4c048ee0
2005-01-14  Andrew Cagney  <cagney@gnu.org>

* exceptions.c (exception_fprintf, exception_print): Move printing
of \n from here ...
(print_exception): ... to here.
(print_flush): New function.
(exception_print, exception_fprintf): Replace duplicated flush and
wrap code with call to print_flush.
(print_and_throw): Simplify, by using xstrvprintf, print_flush,
and print_exception.
(do_write): Delete.
gdb/ChangeLog
gdb/exceptions.c