mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-14 22:49:09 +00:00
gdb/gdbserver/
* tracepoint.c: Include sys/syscall.h. (gdb_ust_thread): Remove preprocessor conditional.
This commit is contained in:
parent
499963bcf1
commit
8206719361
@ -1,3 +1,8 @@
|
||||
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
|
||||
|
@ -8029,6 +8029,8 @@ cmd_qtstmat (char *packet)
|
||||
return -1;
|
||||
}
|
||||
|
||||
#include <sys/syscall.h>
|
||||
|
||||
static void *
|
||||
gdb_ust_thread (void *arg)
|
||||
{
|
||||
@ -8038,10 +8040,8 @@ 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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user