diff options
author | Pavel Labath <pavel@labath.sk> | 2025-01-10 13:21:58 +0100 |
---|---|---|
committer | Pavel Labath <pavel@labath.sk> | 2025-01-10 13:21:58 +0100 |
commit | f44ed64864642b008f0c757a5ff37c150ce47d48 (patch) | |
tree | cdbae3d0c6355b99ede24a9af106c3b0dd61a8bf /lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | |
parent | 9b49da2b3169544355192dfd8d6909213169d0c1 (diff) | |
download | llvm-f44ed64864642b008f0c757a5ff37c150ce47d48.zip llvm-f44ed64864642b008f0c757a5ff37c150ce47d48.tar.gz llvm-f44ed64864642b008f0c757a5ff37c150ce47d48.tar.bz2 |
[lldb] Fix some log messages in NativeProcessLinux
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp index 38b7092..7f2aba0 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. |