aboutsummaryrefslogtreecommitdiff
path: root/gdb/exceptions.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/exceptions.c')
-rw-r--r--gdb/exceptions.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/gdb/exceptions.c b/gdb/exceptions.c
index 099ef0d..4eb2f9e 100644
--- a/gdb/exceptions.c
+++ b/gdb/exceptions.c
@@ -458,21 +458,6 @@ catch_exceptions (struct ui_out *uiout,
return catch_exceptions_with_msg (uiout, func, func_args, NULL, mask);
}
-struct gdb_exception
-catch_exception (struct ui_out *uiout,
- catch_exception_ftype *func,
- void *func_args,
- return_mask mask)
-{
- volatile struct gdb_exception exception;
-
- TRY_CATCH (exception, mask)
- {
- (*func) (uiout, func_args);
- }
- return exception;
-}
-
int
catch_exceptions_with_msg (struct ui_out *uiout,
catch_exceptions_ftype *func,