diff options
Diffstat (limited to 'gdb/break-catch-fork.c')
-rw-r--r-- | gdb/break-catch-fork.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gdb/break-catch-fork.c b/gdb/break-catch-fork.c index cba3753..535040c9 100644 --- a/gdb/break-catch-fork.c +++ b/gdb/break-catch-fork.c @@ -221,7 +221,7 @@ catch_fork_command_1 (const char *arg, int from_tty, First, check if there's an if clause. */ cond_string = ep_parse_optional_if_clause (&arg); - if ((*arg != '\0') && !isspace (*arg)) + if ((*arg != '\0') && !c_isspace (*arg)) error (_("Junk at end of arguments.")); /* If this target supports it, create a fork or vfork catchpoint @@ -242,9 +242,7 @@ catch_fork_command_1 (const char *arg, int from_tty, } } -void _initialize_break_catch_fork (); -void -_initialize_break_catch_fork () +INIT_GDB_FILE (break_catch_fork) { add_catch_command ("fork", _("Catch calls to fork."), catch_fork_command_1, |