aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib.c
diff options
context:
space:
mode:
authorJim Kingdon <jkingdon@engr.sgi.com>1993-06-13 18:16:42 +0000
committerJim Kingdon <jkingdon@engr.sgi.com>1993-06-13 18:16:42 +0000
commit9748446f533aef6d3a568667e37b55c74f078f4d (patch)
treecab53a8c0f17a896a7861684a9f9ef06cd8a0980 /gdb/solib.c
parentb025842760e1f94e28a2dd4e2bb3f22bc9d2633d (diff)
downloadgdb-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/solib.c')
-rw-r--r--gdb/solib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/solib.c b/gdb/solib.c
index 79a0e01..124acc6 100644
--- a/gdb/solib.c
+++ b/gdb/solib.c
@@ -766,7 +766,8 @@ solib_add (arg_string, from_tty, target)
}
else if (catch_errors
(symbol_add_stub, (char *) so,
- "Error while reading shared library symbols:\n"))
+ "Error while reading shared library symbols:\n",
+ RETURN_MASK_ALL))
{
special_symbol_handling (so);
so -> symbols_loaded = 1;