From 9748446f533aef6d3a568667e37b55c74f078f4d Mon Sep 17 00:00:00 2001 From: Jim Kingdon Date: Sun, 13 Jun 1993 18:16:42 +0000 Subject: * defs.h, main.c (catch_errors): Add return_mask arg. stack.c (print_frame_info): Pass RETURN_MASK_ERROR. other callers: Pass RETURN_MASK_ALL. (return_to_top_level), callers: Add return_reason arg. * utils.c (quit): Use return_to_top_level (RETURN_QUIT) instead of error (). * main.c (main), tm-nindy960.h (ADDITIONAL_OPTION_HANDLER): Use SET_TOP_LEVEL not setjmp (to_top_level). * remote-nindy.c: Use catch_errors not setjmp (to_top_level). --- gdb/language.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/language.c') diff --git a/gdb/language.c b/gdb/language.c index 4f88b0a..4881aa1 100644 --- a/gdb/language.c +++ b/gdb/language.c @@ -1022,7 +1022,7 @@ type_error (va_alist) fprintf (stderr, "\n"); va_end (args); if (type_check==type_check_on) - return_to_top_level(); + return_to_top_level (RETURN_ERROR); } void @@ -1043,7 +1043,7 @@ range_error (va_alist) fprintf (stderr, "\n"); va_end (args); if (range_check==range_check_on) - return_to_top_level(); + return_to_top_level (RETURN_ERROR); } -- cgit v1.1