krytarowski added inline comments.
================ Comment at: lldb/source/Plugins/Platform/FreeBSD/PlatformFreeBSD.cpp:269-375 + Log *log(GetLogIfAllCategoriesSet(LIBLLDB_LOG_PLATFORM)); + LLDB_LOG(log, "target {0}", target); + + // If we're a remote host, use standard behavior from parent class. + if (!IsHost()) { + printf("pare\n"); + return PlatformPOSIX::DebugProcess(launch_info, debugger, target, error); ---------------- labath wrote: > I think it's time for a switcheroo -- move this code into > PlatformPOSIX::DebugProcess, and move that function into PlatformDarwin. Please defer any refactoring to a separate, follow up commit. Here is a lot of room for code deduplication, at least for ELF platforms. ================ Comment at: lldb/source/Plugins/Process/FreeBSDRemote/NativeProcessFreeBSD.cpp:491 + + len = len * 4 / 3; + std::unique_ptr<WritableMemoryBuffer> buf = ---------------- Assuming that the process is always stopped, we don't need to increment `len`. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D88796/new/ https://reviews.llvm.org/D88796 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits