diff options
author | Andrew Cagney <cagney@redhat.com> | 2005-01-12 19:12:29 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2005-01-12 19:12:29 +0000 |
commit | db5f402d40beac21d890e4b0b8ec85c17ec4c562 (patch) | |
tree | 420cbdf14ed63d575bb713533b0ea131136410e4 /gdb/ChangeLog | |
parent | 60250e8b18a4dee75e82d49da715681d41561b3b (diff) | |
download | gdb-db5f402d40beac21d890e4b0b8ec85c17ec4c562.zip gdb-db5f402d40beac21d890e4b0b8ec85c17ec4c562.tar.gz gdb-db5f402d40beac21d890e4b0b8ec85c17ec4c562.tar.bz2 |
2005-01-12 Andrew Cagney <cagney@gnu.org>
* exceptions.c: Include "gdb_string.h".
(enum catcher_state, struct catcher): Define.
(current_catcher): New global, replaces catch_return;
(catch_return): Delete.
(throw_exception): Use current_catcher->buf;
(catcher_init, catcher_pop, catcher_state_machine): New functions.
(catcher): Delete.
(struct catch_errors_args): Delete.
(do_catch_errors): Delete.
(catch_exceptions): Replace body with call to
catch_exceptions_with_msg.
(catcher): Delete.
(catch_exceptions_with_msg, catch_errors): Re-implement using
catcher_state_machine.
Diffstat (limited to 'gdb/ChangeLog')
-rw-r--r-- | gdb/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8fbf8d7..7e4f498 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,20 @@ 2005-01-12 Andrew Cagney <cagney@gnu.org> + * exceptions.c: Include "gdb_string.h". + (enum catcher_state, struct catcher): Define. + (current_catcher): New global, replaces catch_return; + (catch_return): Delete. + (throw_exception): Use current_catcher->buf; + (catcher_init, catcher_pop, catcher_state_machine): New functions. + (catcher): Delete. + (struct catch_errors_args): Delete. + (do_catch_errors): Delete. + (catch_exceptions): Replace body with call to + catch_exceptions_with_msg. + (catcher): Delete. + (catch_exceptions_with_msg, catch_errors): Re-implement using + catcher_state_machine. + * exceptions.h (enum return_reason, RETURN_MASK) (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL) (return_mask, throw_exception, catch_exceptions_ftype) |