Skip to content

Commit

Permalink
[lldb] Update NativeThreadLinux to new Status API
Browse files Browse the repository at this point in the history
  • Loading branch information
adrian-prantl committed Aug 27, 2024
1 parent 3280292 commit f2f78b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@ Status NativeThreadLinux::RequestStop() {
Status err;
errno = 0;
if (::tgkill(pid, tid, SIGSTOP) != 0) {
err.SetErrorToErrno();
err = Status::FromErrno();
LLDB_LOGF(log,
"NativeThreadLinux::%s tgkill(%" PRIu64 ", %" PRIu64
", SIGSTOP) failed: %s",
Expand Down

0 comments on commit f2f78b2

Please sign in to comment.