aboutsummaryrefslogtreecommitdiff
path: root/gdb/netbsd-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/netbsd-nat.c')
-rw-r--r--gdb/netbsd-nat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/netbsd-nat.c b/gdb/netbsd-nat.c
index 060134f..207e69c 100644
--- a/gdb/netbsd-nat.c
+++ b/gdb/netbsd-nat.c
@@ -318,7 +318,7 @@ nbsd_nat_target::info_proc (const char *args, enum info_proc_what what)
if (pid == 0)
error (_("No current process: you must name one."));
}
- else if (built_argv.count () == 1 && isdigit (built_argv[0][0]))
+ else if (built_argv.count () == 1 && c_isdigit (built_argv[0][0]))
pid = strtol (built_argv[0], NULL, 10);
else
error (_("Invalid arguments."));