Skip to content

Commit f44ed64

Browse files
committed
[lldb] Fix some log messages in NativeProcessLinux
1 parent 9b49da2 commit f44ed64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ static std::optional<std::pair<lldb::pid_t, WaitStatus>> WaitPid() {
353353

354354
if (wait_pid == -1) {
355355
Status error(errno, eErrorTypePOSIX);
356-
LLDB_LOG(log, "waitpid(-1, &status, _) failed: {1}", error);
356+
LLDB_LOG(log, "waitpid(-1, &status, _) failed: {0}", error);
357357
return std::nullopt;
358358
}
359359

@@ -874,7 +874,7 @@ void NativeProcessLinux::MonitorSignal(const siginfo_t &info,
874874
LLDB_LOG(log,
875875
"received signal {0} ({1}) with code {2}, (siginfo pid = {3}, "
876876
"waitpid pid = {4})",
877-
Host::GetSignalAsCString(signo), signo, info.si_code,
877+
Host::GetSignalAsCString(signo), signo, info.si_code, info.si_pid,
878878
thread.GetID());
879879

880880
// Check for thread stop notification.

0 commit comments

Comments
 (0)