aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2001-09-18 05:00:51 +0000
committerAndrew Cagney <cagney@redhat.com>2001-09-18 05:00:51 +0000
commit2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae (patch)
tree2d052c339d58a13b51ef917b6e6c39ef4d65367d /gdb/breakpoint.c
parentfed9891d87cdfed178e66e35779c22e44482ed31 (diff)
downloadgdb-2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae.zip
gdb-2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae.tar.gz
gdb-2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae.tar.bz2
Add ui_out parameter to libgdb functions.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index a0ba366..2ce0970 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -3526,7 +3526,7 @@ struct captured_breakpoint_query_args
};
static int
-do_captured_breakpoint_query (void *data)
+do_captured_breakpoint_query (struct ui_out *uiout, void *data)
{
struct captured_breakpoint_query_args *args = data;
register struct breakpoint *b;
@@ -3543,14 +3543,14 @@ do_captured_breakpoint_query (void *data)
}
enum gdb_rc
-gdb_breakpoint_query (/* output object, */ int bnum)
+gdb_breakpoint_query (struct ui_out *uiout, int bnum)
{
struct captured_breakpoint_query_args args;
args.bnum = bnum;
/* For the moment we don't trust print_one_breakpoint() to not throw
an error. */
- return catch_errors (do_captured_breakpoint_query, &args,
- NULL, RETURN_MASK_ALL);
+ return catch_exceptions (uiout, do_captured_breakpoint_query, &args,
+ NULL, RETURN_MASK_ALL);
}
/* Return non-zero if B is user settable (breakpoints, watchpoints,