* 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).
This commit is contained in:
Jim Kingdon
1993-06-13 18:16:42 +00:00
parent b025842760
commit 9748446f53
11 changed files with 128 additions and 50 deletions

View File

@@ -855,7 +855,9 @@ mips_initialize ()
mips_receive_wait = 3;
tries = 0;
while (catch_errors (mips_receive_packet, buff, (char *) NULL) == 0)
while (catch_errors (mips_receive_packet, buff, (char *) NULL,
RETURN_MASK_ALL)
== 0)
{
char cc;