* tracepoint.c: Include sys/syscall.h.
(gdb_ust_thread): Remove preprocessor conditional.
+2011-12-15 Yao Qi <yao@codesourcery.com>
+
+ * tracepoint.c: Include sys/syscall.h.
+ (gdb_ust_thread): Remove preprocessor conditional.
+
2011-12-14 Pedro Alves <pedro@codesourcery.com>
* linux-low.c (linux_detach_one_lwp): Call
return -1;
}
+#include <sys/syscall.h>
+
static void *
gdb_ust_thread (void *arg)
{
{
listen_fd = gdb_ust_socket_init ();
-#ifdef SYS_gettid
if (helper_thread_id == 0)
helper_thread_id = syscall (SYS_gettid);
-#endif
if (listen_fd == -1)
{