aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2008-03-17 15:05:42 +0000
committerDaniel Jacobowitz <drow@false.org>2008-03-17 15:05:42 +0000
commit5c3ce3f7abb5ee260361bce2f0cf090d63825300 (patch)
treeefd85aa752a5078dd905a5106f05b765352ef1e5 /gdb/stack.c
parent * linux-nat.c (linux_nat_filter_event): Fix comment typo. (diff)
downloadbinutils-gdb-5c3ce3f7abb5ee260361bce2f0cf090d63825300.tar.gz
binutils-gdb-5c3ce3f7abb5ee260361bce2f0cf090d63825300.tar.bz2
binutils-gdb-5c3ce3f7abb5ee260361bce2f0cf090d63825300.zip
* stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
* symmisc.c (dump_symtab_1): Likewise. * wrapper.c (gdb_value_struct_elt): Likewise.
Diffstat (limited to 'gdb/stack.c')
-rw-r--r--gdb/stack.c4
1 files changed, 2 insertions, 2 deletions
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. */