Skip to content

Commit 70984dd

Browse files
committed
[lldb] Update ReadAllRegisterValues in RegisterContextWindows
1 parent b6087ba commit 70984dd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ void RegisterContextWindows::InvalidateAllRegisters() {
3737
}
3838

3939
bool RegisterContextWindows::ReadAllRegisterValues(
40-
lldb::DataBufferSP &data_sp) {
40+
lldb::WritableDataBufferSP &data_sp) {
4141

4242
if (!CacheAllRegisterValues())
4343
return false;

lldb/source/Plugins/Process/Windows/Common/RegisterContextWindows.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class RegisterContextWindows : public lldb_private::RegisterContext {
2626
// Subclasses must override these functions
2727
void InvalidateAllRegisters() override;
2828

29-
bool ReadAllRegisterValues(lldb::DataBufferSP &data_sp) override;
29+
bool ReadAllRegisterValues(lldb::WritableDataBufferSP &data_sp) override;
3030

3131
bool WriteAllRegisterValues(const lldb::DataBufferSP &data_sp) override;
3232

0 commit comments

Comments
 (0)