mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
* win32-nat.c (child_attach): Reset saw_create counter or subsequent attach
will hang.
This commit is contained in:
@ -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.");
|
||||
|
Reference in New Issue
Block a user