mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-29 10:30:46 +00:00
2007-03-27 Mat Hostetter <mat@lcs.mit.edu>
* server.c (main): Correct strtoul check.
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
2007-03-27 Mat Hostetter <mat@lcs.mit.edu>
|
||||
|
||||
* server.c (main): Correct strtoul check.
|
||||
|
||||
2007-03-27 Jon Ringle <jon@ringle.org>
|
||||
|
||||
* linux-low.c: Check __ARCH_HAS_MMU__ also.
|
||||
|
||||
@@ -727,7 +727,7 @@ main (int argc, char *argv[])
|
||||
if (argc >= 3 && strcmp (argv[2], "--attach") == 0)
|
||||
{
|
||||
if (argc == 4
|
||||
&& argv[3] != '\0'
|
||||
&& argv[3][0] != '\0'
|
||||
&& (pid = strtoul (argv[3], &arg_end, 10)) != 0
|
||||
&& *arg_end == '\0')
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user