diff options
author | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-13 18:16:42 +0000 |
---|---|---|
committer | Jim Kingdon <jkingdon@engr.sgi.com> | 1993-06-13 18:16:42 +0000 |
commit | 9748446f533aef6d3a568667e37b55c74f078f4d (patch) | |
tree | cab53a8c0f17a896a7861684a9f9ef06cd8a0980 /gdb/language.c | |
parent | b025842760e1f94e28a2dd4e2bb3f22bc9d2633d (diff) | |
download | gdb-9748446f533aef6d3a568667e37b55c74f078f4d.zip gdb-9748446f533aef6d3a568667e37b55c74f078f4d.tar.gz gdb-9748446f533aef6d3a568667e37b55c74f078f4d.tar.bz2 |
* 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).
Diffstat (limited to 'gdb/language.c')
-rw-r--r-- | gdb/language.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |