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/remote-mips.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/remote-mips.c')
-rw-r--r-- | gdb/remote-mips.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gdb/remote-mips.c b/gdb/remote-mips.c index eb86ebf..ccc2bad 100644 --- a/gdb/remote-mips.c +++ b/gdb/remote-mips.c @@ -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; |