diff options
author | Andrew Cagney <cagney@redhat.com> | 2001-09-07 21:33:08 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2001-09-07 21:33:08 +0000 |
commit | f9c696d277e3c63524ddd995edac66fa6770395b (patch) | |
tree | a39041c72dfa9863d7f747f08c7450927ea98fd6 /gas | |
parent | a2e2dd80557cd2493d1d6c454b86dd010da3d0d4 (diff) | |
download | gdb-f9c696d277e3c63524ddd995edac66fa6770395b.zip gdb-f9c696d277e3c63524ddd995edac66fa6770395b.tar.gz gdb-f9c696d277e3c63524ddd995edac66fa6770395b.tar.bz2 |
* defs.h (enum return_reason): Renumber so that all values are
negative.
(RETURN_MASK): Negate reason.
(catch_exception_ftype): Declare.
(catch_exceptions): Declare.
* top.c (catcher): New function, based on catch_errors. Add in
parameter func_uiout and out parameters func_val, func_caught and
func_cleanup. Change type of func to catch_exceptions_ftype.
Save/restore uiout.
(struct catch_errors_args): Define.
(do_catch_errors): New function.
(catch_errors): Rewrite, use do_catch_errors and catcher.
(catch_exceptions): New function, use catcher.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions