2005-02-08 Andrew Cagney <cagney@gnu.org>
authorAndrew Cagney <cagney@redhat.com>
Tue, 8 Feb 2005 23:44:06 +0000 (23:44 +0000)
committerAndrew Cagney <cagney@redhat.com>
Tue, 8 Feb 2005 23:44:06 +0000 (23:44 +0000)
commit6941d02a18df94a250129611982bc7ab11d6124b
tree8a94a056da9127da497a383e73cca8b4403c7ff1
parentc36e61546a6b7327e6bd305f78febad60067bab0
2005-02-08  Andrew Cagney  <cagney@gnu.org>

* exceptions.c: Do not include <setjmp.h>.
(SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros.
(catch_exception, catch_exceptions_with_msg, catch_errors)
(catch_command_errors): Use TRY_CATCH.
(struct catcher): Use EXCEPTIONS_SIGJMP_BUF.
(exceptions_state_mc_init): Rename catcher_init.
(exceptions_state_mc): Rename catcher_state_machine.
(exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): New functions.
* exceptions.h: Include <setjmp.h>.
(EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP)
(EXCEPTIONS_SIGLONGJMP): Define.
(exceptions_state_mc_init, exceptions_state_mc_action_iter)
(exceptions_state_mc_action_iter_1): Declare.
(TRY_CATCH): Define.
gdb/ChangeLog
gdb/exceptions.c
gdb/exceptions.h