From 2b65245ef4e04dd3ab045f0207aee8efbfd0a8ae Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Tue, 18 Sep 2001 05:00:51 +0000 Subject: Add ui_out parameter to libgdb functions. --- gdb/breakpoint.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/breakpoint.c') 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, -- cgit v1.1