forked from Imagelibrary/binutils-gdb
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".
This commit is contained in:
@@ -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>
|
2013-06-27 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
* common/create-version.sh: Update comments. Handle the case
|
* common/create-version.sh: Update comments. Handle the case
|
||||||
|
|||||||
@@ -563,7 +563,7 @@ catch_errors (catch_errors_ftype *func, void *func_args, char *errstring,
|
|||||||
}
|
}
|
||||||
|
|
||||||
int
|
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)
|
char *arg, int from_tty, return_mask mask)
|
||||||
{
|
{
|
||||||
volatile struct gdb_exception e;
|
volatile struct gdb_exception e;
|
||||||
|
|||||||
@@ -255,6 +255,6 @@ extern int catch_errors (catch_errors_ftype *, void *, char *, return_mask);
|
|||||||
|
|
||||||
typedef void (catch_command_errors_ftype) (char *, int);
|
typedef void (catch_command_errors_ftype) (char *, int);
|
||||||
extern int catch_command_errors (catch_command_errors_ftype *func,
|
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
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user