aboutsummaryrefslogtreecommitdiff
path: root/gdb/nat
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/nat')
-rw-r--r--gdb/nat/windows-nat.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/nat/windows-nat.h b/gdb/nat/windows-nat.h
index 8d0fa9b..80c652b 100644
--- a/gdb/nat/windows-nat.h
+++ b/gdb/nat/windows-nat.h
@@ -93,6 +93,11 @@ struct windows_thread_info
breakpoint. This is used to offset the PC when needed. */
bool stopped_at_software_breakpoint = false;
+ /* True if we've adjusted the PC after hitting a software
+ breakpoint, false otherwise. This lets us avoid multiple
+ adjustments if the registers are read multiple times. */
+ bool pc_adjusted = false;
+
/* The name of the thread, allocated by xmalloc. */
gdb::unique_xmalloc_ptr<char> name;
};