* exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.

(plus a tiny ChangeLog fix)
This commit is contained in:
Corinna Vinschen 2005-03-09 17:52:54 +00:00
parent 220abb21d1
commit 8d19ca4717
2 changed files with 14 additions and 7 deletions

View File

@ -1,7 +1,11 @@
2004-03-09 Joel Brobecker <brobecker@adacore.com>
2005-03-09 Corinna Vinschen <vinschen@redhat.com>
* dwarf2read.c (dwarf_decode_lines): Use the complete filename
when creating include psymtabs.
* exceptions.h (TRY_CATCH): Define setjmp/sigsetjmp macro safe.
2005-03-09 Joel Brobecker <brobecker@adacore.com>
* dwarf2read.c (dwarf_decode_lines): Use the complete filename
when creating include psymtabs.
2005-03-08 Mark Mitchell <mark@codesourcery.com>

View File

@ -115,10 +115,13 @@ int exceptions_state_mc_action_iter_1 (void);
*/
#define TRY_CATCH(EXCEPTION,MASK) \
for (EXCEPTIONS_SIGSETJMP \
(*exceptions_state_mc_init (uiout, &(EXCEPTION), (MASK))); \
exceptions_state_mc_action_iter (); ) \
while (exceptions_state_mc_action_iter_1 ())
{ \
EXCEPTIONS_SIGJMP_BUF *buf = \
exceptions_state_mc_init (uiout, &(EXCEPTION), (MASK)); \
EXCEPTIONS_SIGSETJMP (*buf); \
} \
while (exceptions_state_mc_action_iter ()) \
while (exceptions_state_mc_action_iter_1 ())
/* *INDENT-ON* */