aboutsummaryrefslogtreecommitdiff
path: root/gdb
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
parentfa2c6a57ca78416ad3546b9aea4e2a0b77e78989 (diff)
downloadgdb-5c3ce3f7abb5ee260361bce2f0cf090d63825300.zip
gdb-5c3ce3f7abb5ee260361bce2f0cf090d63825300.tar.gz
gdb-5c3ce3f7abb5ee260361bce2f0cf090d63825300.tar.bz2
* 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')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/stack.c4
-rw-r--r--gdb/symmisc.c2
-rw-r--r--gdb/wrapper.c2
4 files changed, 10 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0e58831..b96ae7a 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2008-03-17 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
+ * symmisc.c (dump_symtab_1): Likewise.
+ * wrapper.c (gdb_value_struct_elt): Likewise.
+
2008-03-17 Pedro Alves <pedro@codesourcery.com>
* linux-nat.c (linux_nat_filter_event): Fix comment typo.
diff --git a/gdb/stack.c b/gdb/stack.c
index ab2f7f1..374848b 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. */
diff --git a/gdb/symmisc.c b/gdb/symmisc.c
index 46645c1..0797d59 100644
--- a/gdb/symmisc.c
+++ b/gdb/symmisc.c
@@ -515,7 +515,7 @@ dump_symtab_1 (struct objfile *objfile, struct symtab *symtab,
s.depth = depth + 1;
s.outfile = outfile;
catch_errors (print_symbol, &s, "Error printing symbol:\n",
- RETURN_MASK_ALL);
+ RETURN_MASK_ERROR);
}
}
fprintf_filtered (outfile, "\n");
diff --git a/gdb/wrapper.c b/gdb/wrapper.c
index 7d8d6b3..1cbfdbc 100644
--- a/gdb/wrapper.c
+++ b/gdb/wrapper.c
@@ -151,7 +151,7 @@ gdb_value_struct_elt (struct ui_out *uiout, struct value **result,
{
volatile struct gdb_exception except;
- TRY_CATCH (except, RETURN_MASK_ALL)
+ TRY_CATCH (except, RETURN_MASK_ERROR)
{
*result = value_struct_elt (argp, args, name, static_memfuncp, err);
}