aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2013-06-27 17:53:40 +0000
committerPedro Alves <palves@redhat.com>2013-06-27 17:53:40 +0000
commit97f8dd09807815bafe225641b68c8526ba7756cc (patch)
treea349b26fb7fb63758b5f802c7c3ad74376ce611d /gdb
parent8db339a6674ad8e8446bac821cb2dea396e43d6e (diff)
downloadfsf-binutils-gdb-97f8dd09807815bafe225641b68c8526ba7756cc.zip
fsf-binutils-gdb-97f8dd09807815bafe225641b68c8526ba7756cc.tar.gz
fsf-binutils-gdb-97f8dd09807815bafe225641b68c8526ba7756cc.tar.bz2
Fix catch_command_errors's prototype.
gdb/ 2013-06-27 Pedro Alves <palves@redhat.com> * exceptions.c (catch_command_errors): Remove spurious space. * exceptions.h (catch_command_errors): Second parameter is "arg", not "command".
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/exceptions.c2
-rw-r--r--gdb/exceptions.h2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 87ebb73..889097f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,9 @@
+2013-06-27 Pedro Alves <palves@redhat.com>
+
+ * exceptions.c (catch_command_errors): Remove spurious space.
+ * exceptions.h (catch_command_errors): Second parameter is "arg",
+ not "command".
+
2013-06-27 Yao Qi <yao@codesourcery.com>
* common/create-version.sh: Update comments. Handle the case
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;
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