aboutsummaryrefslogtreecommitdiff
path: root/gdb/win32-nat.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/win32-nat.c')
-rw-r--r--gdb/win32-nat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/win32-nat.c b/gdb/win32-nat.c
index 8f9697a..f3fb0a7 100644
--- a/gdb/win32-nat.c
+++ b/gdb/win32-nat.c
@@ -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.");