From 6a3f854ceee364355529083a3f66ff9f902853a6 Mon Sep 17 00:00:00 2001 From: cagney Date: Thu, 13 Jan 2005 00:12:31 +0000 Subject: [PATCH] 2005-01-12 Andrew Cagney * exceptions.h (throw_reason): Rename throw_exception. (enum errors, struct exception): Define. (catch_exception_ftype): Define. (catch_exception, throw_exception): Declare. * exceptions.c (throw_exception): Rewrite. (throw_reason): New function. (struct catcher, catcher_state_machine): Replace "reason" with "exception", delete "gdberrmsg". (catch_exception): New function. (catcher_init): Replace "gdberrmsg" parameter with "exception". (catch_errors, catch_exceptions_with_msg): Re-implement passing exception to catcher_init. * utils.c (error_silent, error_stream_1): Use throw_reason. (internal_verror, quit): Ditto. * breakpoint.c (insert_catchpoint, break_command_1): Ditto. * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto. * remote.c (remote_open_1, interrupt_query): Ditto. --- gdb/ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index cb86d9c4cc..2dee79c2e5 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,23 @@ +2005-01-12 Andrew Cagney + + * exceptions.h (throw_reason): Rename throw_exception. + (enum errors, struct exception): Define. + (catch_exception_ftype): Define. + (catch_exception, throw_exception): Declare. + * exceptions.c (throw_exception): Rewrite. + (throw_reason): New function. + (struct catcher, catcher_state_machine): Replace "reason" with + "exception", delete "gdberrmsg". + (catch_exception): New function. + (catcher_init): Replace "gdberrmsg" parameter with "exception". + (catch_errors, catch_exceptions_with_msg): Re-implement passing + exception to catcher_init. + * utils.c (error_silent, error_stream_1): Use throw_reason. + (internal_verror, quit): Ditto. + * breakpoint.c (insert_catchpoint, break_command_1): Ditto. + * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto. + * remote.c (remote_open_1, interrupt_query): Ditto. + 2005-01-12 Mark Kettenis * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h", -- 2.11.0