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/config/i960 | |
parent | b025842760e1f94e28a2dd4e2bb3f22bc9d2633d (diff) | |
download | ppe42-binutils-9748446f533aef6d3a568667e37b55c74f078f4d.tar.gz ppe42-binutils-9748446f533aef6d3a568667e37b55c74f078f4d.zip |
* 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/config/i960')
-rw-r--r-- | gdb/config/i960/tm-nindy960.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/config/i960/tm-nindy960.h b/gdb/config/i960/tm-nindy960.h index c6410d0168..dba88e0894 100644 --- a/gdb/config/i960/tm-nindy960.h +++ b/gdb/config/i960/tm-nindy960.h @@ -57,9 +57,9 @@ extern char *nindy_ttyname; /* Name of serial port to talk to nindy */ and download the executable file if one was specified. */ #define ADDITIONAL_OPTION_HANDLER \ - if (!setjmp (to_top_level) && nindy_ttyname) { \ + if (!SET_TOP_LEVEL () && nindy_ttyname) { \ nindy_open (nindy_ttyname, !batch); \ - if ( !setjmp(to_top_level) && execarg ) { \ + if (!SET_TOP_LEVEL () && execarg) { \ target_load (execarg, !batch); \ } \ } |