Author: Pavel Labath Date: 2025-01-10T13:21:58+01:00 New Revision: f44ed64864642b008f0c757a5ff37c150ce47d48
URL: https://github.com/llvm/llvm-project/commit/f44ed64864642b008f0c757a5ff37c150ce47d48 DIFF: https://github.com/llvm/llvm-project/commit/f44ed64864642b008f0c757a5ff37c150ce47d48.diff LOG: [lldb] Fix some log messages in NativeProcessLinux Added: Modified: lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp index 38b7092682873b..7f2aba0e4eb2ca 100644 --- a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp +++ b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp @@ -353,7 +353,7 @@ static std::optional<std::pair<lldb::pid_t, WaitStatus>> WaitPid() { if (wait_pid == -1) { Status error(errno, eErrorTypePOSIX); - LLDB_LOG(log, "waitpid(-1, &status, _) failed: {1}", error); + LLDB_LOG(log, "waitpid(-1, &status, _) failed: {0}", error); return std::nullopt; } @@ -874,7 +874,7 @@ void NativeProcessLinux::MonitorSignal(const siginfo_t &info, LLDB_LOG(log, "received signal {0} ({1}) with code {2}, (siginfo pid = {3}, " "waitpid pid = {4})", - Host::GetSignalAsCString(signo), signo, info.si_code, + Host::GetSignalAsCString(signo), signo, info.si_code, info.si_pid, thread.GetID()); // Check for thread stop notification. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits