aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
diff options
context:
space:
mode:
authorPavel Labath <labath@google.com>2016-08-08 12:40:11 +0000
committerPavel Labath <labath@google.com>2016-08-08 12:40:11 +0000
commitc923a3dc00c5dfdf68fabd6d9d85ccf2bedc6066 (patch)
treed70e71a567b8d95d9268103097f079b29ad91113 /lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
parent6b73456865926b5279faa68e771c513e969d0a64 (diff)
downloadllvm-c923a3dc00c5dfdf68fabd6d9d85ccf2bedc6066.zip
llvm-c923a3dc00c5dfdf68fabd6d9d85ccf2bedc6066.tar.gz
llvm-c923a3dc00c5dfdf68fabd6d9d85ccf2bedc6066.tar.bz2
Remove SYS_tgkill from Android.h
instead, use __NR_tgkill directly, which seems to be the preferred form in the codebase anyway. llvm-svn: 277999
Diffstat (limited to 'lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp')
-rw-r--r--lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
index 070b1bcda..6509022 100644
--- a/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
+++ b/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp
@@ -30,7 +30,7 @@
#include <sys/syscall.h>
// Try to define a macro to encapsulate the tgkill syscall
#define tgkill(pid, tid, sig) \
- syscall(SYS_tgkill, static_cast< ::pid_t>(pid), static_cast< ::pid_t>(tid), sig)
+ syscall(__NR_tgkill, static_cast< ::pid_t>(pid), static_cast< ::pid_t>(tid), sig)
using namespace lldb;
using namespace lldb_private;