mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 02:50:25 +08:00
* pinfo (wait_subproc): Son of neverending debug tweaking.
This commit is contained in:
parent
914f7bf565
commit
95101076e5
@ -1,3 +1,7 @@
|
||||
Sun Nov 5 13:46:23 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* pinfo (wait_subproc): Son of neverending debug tweaking.
|
||||
|
||||
Sun Nov 5 11:45:15 2000 Christopher Faylor <cgf@cygnus.com>
|
||||
|
||||
* pinfo (wait_subproc): Neverending debug tweaking.
|
||||
|
@ -1249,13 +1249,16 @@ wait_subproc (VOID *)
|
||||
if ((rc = WaitForSingleObject (events[i], 0)) == WAIT_OBJECT_0 ||
|
||||
rc == WAIT_TIMEOUT)
|
||||
continue;
|
||||
else if (i == 0)
|
||||
system_printf ("nchildren %d, event[%d] %p, %E", nchildren, i, events[i]);
|
||||
else
|
||||
{
|
||||
system_printf ("nchildren %d, event[%d] %p, pchildren[%d] %p, events[0] %p, %E",
|
||||
nchildren, i, events[i], i - 1, (_pinfo *) pchildren[i - 1], events[0]);
|
||||
system_printf ("pid %d, dwProcessId %u, progname '%s'",
|
||||
system_printf ("pid %d, dwProcessId %u, hProcess %p, progname '%s'",
|
||||
pchildren[i - 1]->pid, pchildren[i - 1]->dwProcessId,
|
||||
pchildren[i - 1]->progname);
|
||||
pchildren[i - 1]->hProcess, pchildren[i - 1]->progname);
|
||||
Sleep (10000);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user