llvm-project/lldb/source/Plugins/Process/Windows/Common
Aleksandr Urakov 6179c0eb0d [Windows] Add support of watchpoints to `ProcessWindows`
Summary:
This patch adds support of watchpoints to the old `ProcessWindows` plugin.

The `ProcessWindows` plugin uses the `RegisterContext` to set and reset
watchpoints. The `RegisterContext` has some interface to access watchpoints,
but it is very limited (e.g. it is impossible to retrieve the last triggered
watchpoint with it), that's why I have implemented a slightly different
interface in the `RegisterContextWindows`. Moreover, I have made the
`ProcessWindows` plugin responsible for search of a vacant watchpoint slot,
because watchpoints exist per-process (not per-thread), then we can place
the same watchpoint in the same slot in different threads. With this scheme
threads don't need to have their own watchpoint lists, and it simplifies
identifying of the last triggered watchpoint.

Reviewers: asmith, stella.stamenova, amccarth

Reviewed By: amccarth

Subscribers: labath, zturner, leonid.mashinskiy, abidh, JDevlieghere, lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D67168

llvm-svn: 371166
2019-09-06 05:37:03 +00:00
..
x64 [Windows] Add support of watchpoints to `ProcessWindows` 2019-09-06 05:37:03 +00:00
x86 [Windows] Add support of watchpoints to `ProcessWindows` 2019-09-06 05:37:03 +00:00
CMakeLists.txt Initial support for native debugging of x86/x64 Windows processes 2019-08-13 22:18:01 +00:00
DebuggerThread.cpp Initial support for native debugging of x86/x64 Windows processes 2019-08-13 22:18:01 +00:00
DebuggerThread.h [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
ExceptionRecord.h [Windows] Dump more information about access violation exception 2019-04-29 07:29:25 +00:00
ForwardDecl.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
IDebugDelegate.h [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
LocalDebugDelegate.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
LocalDebugDelegate.h [NFC] Remove ASCII lines from comments 2019-04-10 20:48:55 +00:00
NativeProcessWindows.cpp Windows: explicitly cast constants to `DWORD` 2019-08-23 17:58:53 +00:00
NativeProcessWindows.h Initial support for native debugging of x86/x64 Windows processes 2019-08-13 22:18:01 +00:00
NativeRegisterContextWindows.cpp Windows: Include "windows" Instead of "Windows" 2019-08-19 22:45:01 +00:00
NativeRegisterContextWindows.h Initial support for native debugging of x86/x64 Windows processes 2019-08-13 22:18:01 +00:00
NativeRegisterContextWindows_WoW64.cpp [lldb] Fix x86 compilation 2019-08-27 17:22:03 +00:00
NativeRegisterContextWindows_WoW64.h [lldb] Fix x86 compilation 2019-08-27 17:22:03 +00:00
NativeRegisterContextWindows_i386.cpp [lldb] Fix x86 compilation 2019-08-27 17:22:03 +00:00
NativeRegisterContextWindows_i386.h [lldb] Fix x86 compilation 2019-08-27 17:22:03 +00:00
NativeRegisterContextWindows_x86_64.cpp [lldb] Fix x86 compilation 2019-08-27 17:22:03 +00:00
NativeRegisterContextWindows_x86_64.h [lldb] Fix x86 compilation 2019-08-27 17:22:03 +00:00
NativeThreadWindows.cpp Windows: Include "windows" Instead of "Windows" 2019-08-19 22:45:01 +00:00
NativeThreadWindows.h Initial support for native debugging of x86/x64 Windows processes 2019-08-13 22:18:01 +00:00
NtStructures.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProcessDebugger.cpp Try again to move common functionality from ProcessWindows into ProcessDebugger 2019-07-10 03:34:57 +00:00
ProcessDebugger.h [Windows] Add support of watchpoints to `ProcessWindows` 2019-09-06 05:37:03 +00:00
ProcessWindows.cpp [Windows] Add support of watchpoints to `ProcessWindows` 2019-09-06 05:37:03 +00:00
ProcessWindows.h [Windows] Add support of watchpoints to `ProcessWindows` 2019-09-06 05:37:03 +00:00
ProcessWindowsLog.cpp Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
ProcessWindowsLog.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
RegisterContextWindows.cpp [Windows] Add support of watchpoints to `ProcessWindows` 2019-09-06 05:37:03 +00:00
RegisterContextWindows.h [Windows] Add support of watchpoints to `ProcessWindows` 2019-09-06 05:37:03 +00:00
TargetThreadWindows.cpp Process: generalise Windows thread setup 2019-07-07 17:58:11 +00:00
TargetThreadWindows.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00