diff options
author | Pedro Alves <pedro@palves.net> | 2021-10-21 18:16:58 +0100 |
---|---|---|
committer | Pedro Alves <pedro@palves.net> | 2024-05-10 11:26:00 +0100 |
commit | f428cac6151a5fb66812be52fd05b8eae8a164cd (patch) | |
tree | 42d6d3f7ea196ea9ef9ba8ed864e52b595f5f9c2 /gdb/amd64-windows-nat.c | |
parent | 11adfeba325cf8d28aa89f8652935a9e2d9e37ee (diff) | |
download | binutils-f428cac6151a5fb66812be52fd05b8eae8a164cd.zip binutils-f428cac6151a5fb66812be52fd05b8eae8a164cd.tar.gz binutils-f428cac6151a5fb66812be52fd05b8eae8a164cd.tar.bz2 |
Windows gdb+gdbserver: Make current_event per-thread state
With non-stop mode, each thread is controlled independently of the
others, and each thread has its own independent reason for its last
stop.
Thus, any thread-specific state that is currently per-process must be
converted to per-thread state.
This patch converts windows_process_info::current_event, moving it to
windows_thread_info instead, renamed to last_event.
Since each thread will have its own copy of its last Windows debug
event, we no longer need the same information stored in struct
pending_stop.
Since windows_process.current_event no longer exists, we need to pass
the current event as parameter to a number of methods.
This adjusts both native gdb and gdbserver.
Change-Id: Ice09a5d932c912210608d5af25e1898f823e3c99
Diffstat (limited to 'gdb/amd64-windows-nat.c')
0 files changed, 0 insertions, 0 deletions