mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 08:38:10 +08:00
* win32-nat.c (win32_create_inferior): Restore code calling
CloseHandle on ProcessInformation structure.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-01-14 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||||
|
|
||||||
|
* win32-nat.c (win32_create_inferior): Restore code calling
|
||||||
|
CloseHandle on ProcessInformation structure.
|
||||||
|
|
||||||
2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
|
2008-01-13 Nick Hudson <nick.hudson@dsl.pipex.com>
|
||||||
|
|
||||||
* configure.ac: Check for void * as 3 argument of ptrace.
|
* configure.ac: Check for void * as 3 argument of ptrace.
|
||||||
|
@ -1880,6 +1880,9 @@ win32_create_inferior (char *exec_file, char *allargs, char **in_env,
|
|||||||
error (_("Error creating process %s, (error %d)."),
|
error (_("Error creating process %s, (error %d)."),
|
||||||
exec_file, (unsigned) GetLastError ());
|
exec_file, (unsigned) GetLastError ());
|
||||||
|
|
||||||
|
CloseHandle (pi.hThread);
|
||||||
|
CloseHandle (pi.hProcess);
|
||||||
|
|
||||||
if (useshell && shell[0] != '\0')
|
if (useshell && shell[0] != '\0')
|
||||||
saw_create = -1;
|
saw_create = -1;
|
||||||
else
|
else
|
||||||
|
@ -1880,6 +1880,9 @@ win32_create_inferior (char *exec_file, char *allargs, char **in_env,
|
|||||||
error (_("Error creating process %s, (error %d)."),
|
error (_("Error creating process %s, (error %d)."),
|
||||||
exec_file, (unsigned) GetLastError ());
|
exec_file, (unsigned) GetLastError ());
|
||||||
|
|
||||||
|
CloseHandle (pi.hThread);
|
||||||
|
CloseHandle (pi.hProcess);
|
||||||
|
|
||||||
if (useshell && shell[0] != '\0')
|
if (useshell && shell[0] != '\0')
|
||||||
saw_create = -1;
|
saw_create = -1;
|
||||||
else
|
else
|
||||||
|
Reference in New Issue
Block a user