diff options
Diffstat (limited to 'gdb/exceptions.c')
-rw-r--r-- | gdb/exceptions.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/exceptions.c b/gdb/exceptions.c index b0f28d9..f9a80a0 100644 --- a/gdb/exceptions.c +++ b/gdb/exceptions.c @@ -221,8 +221,8 @@ catch_exceptions_with_msg (struct ui_out *func_uiout, /* This function is superseded by catch_exceptions(). */ int -catch_errors (catch_errors_ftype *func, void *func_args, char *errstring, - return_mask mask) +catch_errors (catch_errors_ftype *func, void *func_args, + const char *errstring, return_mask mask) { struct gdb_exception exception = exception_none; volatile int val = 0; |