Browse Source

* server.c (main): Relax numerical bases supported for the pid of

the --attach command line argument.
insight_6_8-branch
Pedro Alves 19 years ago
parent
commit
6c2d16d2d3
  1. 5
      gdb/gdbserver/ChangeLog
  2. 2
      gdb/gdbserver/server.c

5
gdb/gdbserver/ChangeLog

@ -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

2
gdb/gdbserver/server.c

@ -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…
Cancel
Save