* win32-nat.c (child_attach): Reset saw_create counter or subsequent attach
will hang.
This commit is contained in:
parent
f4ded5b121
commit
91a175b3f1
3 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2002-11-22 Christopher Faylor <cgf@redhat.com>
|
||||
|
||||
* win32-nat.c (child_attach): Reset saw_create counter or subsequent
|
||||
attach will hang.
|
||||
|
||||
2002-11-22 Andrew Cagney <ac131313@redhat.com>
|
||||
|
||||
* gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default
|
||||
|
|
|
@ -1386,6 +1386,7 @@ child_attach (char *args, int from_tty)
|
|||
|
||||
pid = strtoul (args, 0, 0);
|
||||
ok = DebugActiveProcess (pid);
|
||||
saw_create = 0;
|
||||
|
||||
if (!ok)
|
||||
error ("Can't attach to process.");
|
||||
|
|
|
@ -1386,6 +1386,7 @@ child_attach (char *args, int from_tty)
|
|||
|
||||
pid = strtoul (args, 0, 0);
|
||||
ok = DebugActiveProcess (pid);
|
||||
saw_create = 0;
|
||||
|
||||
if (!ok)
|
||||
error ("Can't attach to process.");
|
||||
|
|
Loading…
Reference in a new issue