* gdb.threads/manythreads.c (main): Increase thread stack size
[deliverable/binutils-gdb.git] / gdb / i386-nat.c
index ab1bd8a83febc4fa5da46c27d7d351074d130519..325b4df6ca1a95294bcb449c9a8740288adedfa9 100644 (file)
@@ -555,7 +555,10 @@ i386_stopped_data_address (struct target_ops *ops, CORE_ADDR *addr_p)
             that GDB doesn't call the target_stopped_data_address
             method except for data watchpoints.  In other words, I'm
             being paranoiac.  */
-         && I386_DR_GET_RW_LEN (i) != 0)
+         && I386_DR_GET_RW_LEN (i) != 0
+         /* This third condition makes sure DRi is not vacant, this
+            avoids false positives in windows-nat.c.  */
+         && !I386_DR_VACANT (i))
        {
          addr = dr_mirror[i];
          rc = 1;
This page took 0.024533 seconds and 4 git commands to generate.