Skip to content

Commit f2f78b2

Browse files
committed
[lldb] Update NativeThreadLinux to new Status API
1 parent 3280292 commit f2f78b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,7 +508,7 @@ Status NativeThreadLinux::RequestStop() {
508508
Status err;
509509
errno = 0;
510510
if (::tgkill(pid, tid, SIGSTOP) != 0) {
511-
err.SetErrorToErrno();
511+
err = Status::FromErrno();
512512
LLDB_LOGF(log,
513513
"NativeThreadLinux::%s tgkill(%" PRIu64 ", %" PRIu64
514514
", SIGSTOP) failed: %s",

0 commit comments

Comments
 (0)