[Lldb-commits] [lldb] [lldb/linux] Make truncated reads work (PR #106532)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Mon Sep 2 03:35:00 PDT 2024


================
@@ -1641,6 +1641,10 @@ NativeProcessLinux::GetSoftwareBreakpointTrapOpcode(size_t size_hint) {
 
 Status NativeProcessLinux::ReadMemory(lldb::addr_t addr, void *buf, size_t size,
                                       size_t &bytes_read) {
+  Log *log = GetLog(POSIXLog::Memory);
+  LLDB_LOG(log, "addr = {0}, buf = {1}, size = {2}", addr, buf, size);
----------------
labath wrote:

it does (with `log enable -F`)

https://github.com/llvm/llvm-project/pull/106532


More information about the lldb-commits mailing list