OSDN Git Service

2005-01-14 Andrew Cagney <cagney@gnu.org>
authorcagney <cagney>
Sat, 15 Jan 2005 05:16:14 +0000 (05:16 +0000)
committercagney <cagney>
Sat, 15 Jan 2005 05:16:14 +0000 (05:16 +0000)
commit67d176df7f3c9be5528581c6b23a4b359655d6c1
tree56f68190608a5c3d84dc335043ab6616b30a5e2d
parent784871a5e7836bfd62c3cd9ce11cb8e1cd06c05d
2005-01-14  Andrew Cagney  <cagney@gnu.org>

* exceptions.c (print_and_throw): Delete, replaced by throw_it.
(throw_reason): Leave the exception's message field blank.
(throw_it): New function, create the exception and throw it.
(throw_verror, throw_vfatal, throw_error): Call throw_it.
(print_any_exception): New function.
(catch_errors, catch_exceptions_with_msg): Call
print_any_exception.
(throw_exception): Move code calling annotate_error and
annotate_quit from here ...
(print_exception): ... to here.
gdb/ChangeLog
gdb/exceptions.c