[Lldb-commits] [lldb] 70984dd - [lldb] Update ReadAllRegisterValues in RegisterContextWindows

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 5 15:15:57 PDT 2022


Author: Jonas Devlieghere
Date: 2022-04-05T15:15:48-07:00
New Revision: 70984dd40a425927876518ff4e0bd9b6b790bec2

URL: https://github.com/llvm/llvm-project/commit/70984dd40a425927876518ff4e0bd9b6b790bec2
DIFF: https://github.com/llvm/llvm-project/commit/70984dd40a425927876518ff4e0bd9b6b790bec2.diff

LOG: [lldb] Update ReadAllRegisterValues in RegisterContextWindows

Added: 
    

Modified: 
    lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp
    lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.h

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp b/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp
index b443df1e7cbd1..25b67bec3e3cf 100644
--- a/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp
+++ b/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp
@@ -37,7 +37,7 @@ void RegisterContextWindows::InvalidateAllRegisters() {
 }
 
 bool RegisterContextWindows::ReadAllRegisterValues(
-    lldb::DataBufferSP &data_sp) {
+    lldb::WritableDataBufferSP &data_sp) {
 
   if (!CacheAllRegisterValues())
     return false;

diff  --git a/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.h b/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.h
index 9ae0402282543..ac412d74f9fa0 100644
--- a/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.h
+++ b/lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.h
@@ -26,7 +26,7 @@ class RegisterContextWindows : public lldb_private::RegisterContext {
   // Subclasses must override these functions
   void InvalidateAllRegisters() override;
 
-  bool ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override;
+  bool ReadAllRegisterValues(lldb::WritableDataBufferSP &data_sp) override;
 
   bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override;
 


        


More information about the lldb-commits mailing list