summaryrefslogtreecommitdiffstats
path: root/tests/backtrace.c
diff options
context:
space:
mode:
authorMark Wielaard <[email protected]>2019-03-04 20:10:35 +0100
committerMark Wielaard <[email protected]>2019-03-04 20:10:37 +0100
commit142a51944db63f64d4839c65e904df48474dcb12 (patch)
tree3d2ae3b73c0dec05ee5fcbde17a1d8270b2e9c82 /tests/backtrace.c
parente56a09694af1b82e2cae7ecb5d57d76e5d6f973d (diff)
tests: Remove tgkill define from backtrace.c
tgkill is never used in the test and it might conflict with newer glibc which might define tgkill themselves (just like gettid): https://sourceware.org/bugzilla/show_bug.cgi?id=6399 Signed-off-by: Mark Wielaard <[email protected]>
Diffstat (limited to 'tests/backtrace.c')
-rw-r--r--tests/backtrace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/backtrace.c b/tests/backtrace.c
index 05e8ef82..ecf55830 100644
--- a/tests/backtrace.c
+++ b/tests/backtrace.c
@@ -296,7 +296,6 @@ prepare_thread (pid_t pid2 __attribute__ ((unused)),
#include <asm/unistd.h>
#include <unistd.h>
-#define tgkill(pid, tid, sig) syscall (__NR_tgkill, (pid), (tid), (sig))
static void
report_pid (Dwfl *dwfl, pid_t pid)