From 5c3ce3f7abb5ee260361bce2f0cf090d63825300 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Mon, 17 Mar 2008 15:05:42 +0000 Subject: * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR. * symmisc.c (dump_symtab_1): Likewise. * wrapper.c (gdb_value_struct_elt): Likewise. --- gdb/stack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gdb/stack.c') diff --git a/gdb/stack.c b/gdb/stack.c index ab2f7f13fb3..374848b5c3e 100644 --- a/gdb/stack.c +++ b/gdb/stack.c @@ -115,7 +115,7 @@ print_stack_frame (struct frame_info *frame, int print_level, args.print_what = ui_out_is_mi_like_p (uiout) ? LOC_AND_ADDRESS : print_what; args.print_args = 1; - catch_errors (print_stack_frame_stub, &args, "", RETURN_MASK_ALL); + catch_errors (print_stack_frame_stub, &args, "", RETURN_MASK_ERROR); } struct print_args_args @@ -688,7 +688,7 @@ print_frame (struct frame_info *frame, int print_level, args.func = func; args.stream = gdb_stdout; args_list_chain = make_cleanup_ui_out_list_begin_end (uiout, "args"); - catch_errors (print_args_stub, &args, "", RETURN_MASK_ALL); + catch_errors (print_args_stub, &args, "", RETURN_MASK_ERROR); /* FIXME: ARGS must be a list. If one argument is a string it will have " that will not be properly escaped. */ /* Invoke ui_out_tuple_end. */ -- cgit v1.2.3-65-gdbad