[Lldb-commits] [PATCH] D136144: [lldb] Fix m_hwp_regs size for ppc64le

Nikita Popov via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Oct 18 06:12:32 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG6f59f302e435: [lldb] Fix m_hwp_regs size for ppc64le (PR54520) (authored by nikic).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136144/new/

https://reviews.llvm.org/D136144

Files:
  lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h


Index: lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h
===================================================================
--- lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h
+++ lldb/source/Plugins/Process/Linux/NativeRegisterContextLinux_ppc64le.h
@@ -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;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136144.468513.patch
Type: text/x-patch
Size: 588 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221018/92ddee3d/attachment.bin>


More information about the lldb-commits mailing list