From 97f8dd09807815bafe225641b68c8526ba7756cc Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Thu, 27 Jun 2013 17:53:40 +0000 Subject: Fix catch_command_errors's prototype. gdb/ 2013-06-27 Pedro Alves * exceptions.c (catch_command_errors): Remove spurious space. * exceptions.h (catch_command_errors): Second parameter is "arg", not "command". --- gdb/exceptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/exceptions.c') diff --git a/gdb/exceptions.c b/gdb/exceptions.c index 866905d..0cdd16b 100644 --- a/gdb/exceptions.c +++ b/gdb/exceptions.c @@ -563,7 +563,7 @@ catch_errors (catch_errors_ftype *func, void *func_args, char *errstring, } int -catch_command_errors (catch_command_errors_ftype * command, +catch_command_errors (catch_command_errors_ftype *command, char *arg, int from_tty, return_mask mask) { volatile struct gdb_exception e; -- cgit v1.1