forked from Imagelibrary/binutils-gdb
* server.c (main): Relax numerical bases supported for the pid of
the --attach command line argument.
This commit is contained in:
@@ -880,7 +880,7 @@ main (int argc, char *argv[])
|
||||
{
|
||||
if (argc == 4
|
||||
&& argv[3][0] != '\0'
|
||||
&& (pid = strtoul (argv[3], &arg_end, 10)) != 0
|
||||
&& (pid = strtoul (argv[3], &arg_end, 0)) != 0
|
||||
&& *arg_end == '\0')
|
||||
{
|
||||
;
|
||||
|
||||
Reference in New Issue
Block a user