Skip to content

Commit e77bc42

Browse files
committed
[lldb] add the access types from qXfer_memory_map succeeds.
1 parent 0c7f1f9 commit e77bc42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,6 +1725,8 @@ Status GDBRemoteCommunicationClient::GetMemoryRegionInfo(
17251725
if (region_info.GetRange() == qXfer_region_info.GetRange()) {
17261726
region_info.SetFlash(qXfer_region_info.GetFlash());
17271727
region_info.SetBlocksize(qXfer_region_info.GetBlocksize());
1728+
region_info.SetReadable(qXfer_region_info.GetReadable());
1729+
region_info.SetWritable(qXfer_region_info.GetWritable());
17281730
}
17291731
}
17301732
return error;

0 commit comments

Comments
 (0)