]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gdb/exceptions.c
2005-01-14 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Sat, 15 Jan 2005 05:16:15 +0000 (05:16 +0000)
committerAndrew Cagney <cagney@redhat.com>
Sat, 15 Jan 2005 05:16:15 +0000 (05:16 +0000)
commite48f5bee49d3c14ad0cdae307f3c708d68f91e84
treecfcdfa072a8244b39cdc6c5fdcaf8e8ba60f10fc
parentc6da7a6d7d775226b6a02c3c6f7a21b7fdf268d4
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