aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2021-10-04 14:38:23 -0400
committerTom Tromey <tromey@adacore.com>2021-10-27 14:16:01 -0600
commit296d3d2e156c8fe96c0250d5b59a008e7054946e (patch)
tree68bd73b25e70e09614c550b93c3589b8a3f76b2d /opcodes
parent35da8c6140344db53eff53189abffd8cb0bec2bc (diff)
downloadgdb-296d3d2e156c8fe96c0250d5b59a008e7054946e.zip
gdb-296d3d2e156c8fe96c0250d5b59a008e7054946e.tar.gz
gdb-296d3d2e156c8fe96c0250d5b59a008e7054946e.tar.bz2
Fix watchpoints with multiple threads on Windows
A recent internal change pointed out that watchpoints were not working on Windows when the inferior was multi-threaded. This happened because the debug registers were only updated for certain threads -- in particular, those that were being resumed and that were not marked as suspended. In the case of single-stepping, the need to update the debug registers in other threads could also be "forgotten". This patch changes windows-nat.c to mark all threads needing a debug register update. This brings the code closer to what gdbserver does (though, unfortunately, it still seems more complicated than needed).
Diffstat (limited to 'opcodes')
0 files changed, 0 insertions, 0 deletions