lldb/increase-m_hwp_regs-size.patch

13 lines
724 B
Diff
Raw Normal View History

diff -ruN lldb-13.0.1.src.orig/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h lldb-13.0.1.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h
--- a/lldb-13.0.1.src.orig/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h 2022-01-20 22:31:59.000000000 +0100
+++ b/lldb-13.0.1.src/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h 2022-03-30 08:02:16.292360951 +0200
@@ -122,7 +122,7 @@
int mode; // Defines if watchpoint is read/write/access.
};
- std::array<DREG, 4> m_hwp_regs;
+ std::array<DREG, 16> m_hwp_regs;
// 16 is just a maximum value, query hardware for actual watchpoint count
uint32_t m_max_hwp_supported = 16;