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-vx.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-vx.c')
-rw-r--r-- | gdb/remote-vx.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/remote-vx.c b/gdb/remote-vx.c index bb621a5..34f1fa2 100644 --- a/gdb/remote-vx.c +++ b/gdb/remote-vx.c @@ -1031,8 +1031,9 @@ vx_open (args, from_tty) { if (*bootFile) { printf_filtered ("\t%s: ", bootFile); - if (catch_errors (symbol_stub, bootFile, - "Error while reading symbols from boot file:\n")) + if (catch_errors + (symbol_stub, bootFile, + "Error while reading symbols from boot file:\n", RETURN_MASK_ALL)) puts_filtered ("ok\n"); } else if (from_tty) printf ("VxWorks kernel symbols not loaded.\n"); @@ -1068,7 +1069,8 @@ vx_open (args, from_tty) /* Botches, FIXME: (1) Searches the PATH, not the source path. (2) data and bss are assumed to be at the usual offsets from text. */ - catch_errors (add_symbol_stub, (char *)pLoadFile, (char *)0); + catch_errors (add_symbol_stub, (char *)pLoadFile, (char *)0, + RETURN_MASK_ALL); #endif } printf_filtered ("Done.\n"); |