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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/exceptions.h') diff --git a/gdb/exceptions.h b/gdb/exceptions.h index 630eb2e..7e3be95 100644 --- a/gdb/exceptions.h +++ b/gdb/exceptions.h @@ -255,6 +255,6 @@ extern int catch_errors (catch_errors_ftype *, void *, char *, return_mask); typedef void (catch_command_errors_ftype) (char *, int); extern int catch_command_errors (catch_command_errors_ftype *func, - char *command, int from_tty, return_mask); + char *arg, int from_tty, return_mask); #endif -- cgit v1.1