================
@@ -143,8 +142,14 @@
NativeRegisterContextWindows::CreateHostNativeRegisterContextWindows(
NativeRegisterContextWindows_arm64::NativeRegisterContextWindows_arm64(
const ArchSpec &target_arch, NativeThreadProtocol &native_thread)
- : NativeRegisterContextWindows(native_thread,
- CreateRegisterInfoInterface(target_arch)) {}
+ : NativeRegisterContextRegisterInfo(
+ native_thread, CreateRegisterInfoInterface(target_arch)) {
+ // Currently, there is no API to query the maximum supported hardware
+ // breakpoints and watchpoints on Windows. The values set below are based
----------------
DavidSpickett wrote:
Does Windows reject writes to the other breakpoints or just silently accepts
them and only later you find out they don't work?
I'm wondering if we can read/modify/write the registers and see what sticks.
Of course the timing of that is interesting. We'd need a live process to do
those writes in, and perhaps by that time we already needed to know the max
breakpoint number for something else to work.
(last time I did this sort of thing it was a jtag debugger so we could inspect
registers regardless of the debugee's state)
https://github.com/llvm/llvm-project/pull/108072
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits