mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
* server.c (main): Relax numerical bases supported for the pid of
the --attach command line argument.
This commit is contained in:
parent
5ca906e670
commit
6c2d16d2d3
@ -1,3 +1,8 @@
|
||||
2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||
|
||||
* server.c (main): Relax numerical bases supported for the pid of
|
||||
the --attach command line argument.
|
||||
|
||||
2007-12-03 Pedro Alves <pedro_alves@portugalmail.pt>
|
||||
|
||||
* win32-low.c (win32_attach): Call OpenProcess before
|
||||
|
@ -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')
|
||||
{
|
||||
;
|
||||
|
Loading…
Reference in New Issue
Block a user