Fix catch_command_errors's prototype.
authorPedro Alves <palves@redhat.com>
Thu, 27 Jun 2013 17:53:40 +0000 (17:53 +0000)
committerPedro Alves <palves@redhat.com>
Thu, 27 Jun 2013 17:53:40 +0000 (17:53 +0000)
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".

gdb/ChangeLog
gdb/exceptions.c
gdb/exceptions.h

index 87ebb73ae54ec69bbaf3d336d0ff2ff68f9bad76..889097fd1fb93a6b37ac64c1017e15ca214e2e58 100644 (file)
@@ -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
index 866905d7cf217712dcb31f24f64d2d71cd7a037a..0cdd16b75f63bc0958cb34ba836c06016d5c5c70 100644 (file)
@@ -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;
index 630eb2e56bda45c79a19276ba2a39d7b8637c171..7e3be95a04f0734e1f0752156cb9d50835dab96d 100644 (file)
@@ -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
This page took 0.045338 seconds and 4 git commands to generate.