X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=gdb%2Fgdbserver%2Fgdbthread.h;h=fe0a75e44d892b2c0000f50134bfd7d350d2be50;hb=462f517e5020a464e84d2b8535b1b68d39329dc2;hp=0eac5a47d255223d4c16a12070101b6fdfaa4b9e;hpb=649ebbcaef0f8e58146e62be0d3f22da5f82446c;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/gdbserver/gdbthread.h b/gdb/gdbserver/gdbthread.h index 0eac5a47d2..fe0a75e44d 100644 --- a/gdb/gdbserver/gdbthread.h +++ b/gdb/gdbserver/gdbthread.h @@ -19,7 +19,6 @@ #ifndef GDB_THREAD_H #define GDB_THREAD_H -#include "server.h" #include "inferiors.h" struct btrace_target_info; @@ -74,7 +73,7 @@ struct thread_info extern struct inferior_list all_threads; void remove_thread (struct thread_info *thread); -void add_thread (ptid_t ptid, void *target_data); +struct thread_info *add_thread (ptid_t ptid, void *target_data); struct thread_info *get_first_thread (void);