Eric Pouech wrote:
diff --git a/server/context_x86_64.c b/server/context_x86_64.c
index c102510..e5d8fc2 100644
--- a/server/context_x86_64.c
+++ b/server/context_x86_64.c
@@ -271,12 +271,12 @@ int get_thread_single_step( struct threa
}
/* send a signal to a specific thread */
-int tkill( int pid, int sig )
+int tkill( int tgid, int pid, int sig )
{
#ifdef __linux__
int ret;
__asm__( "syscall" : "=a" (ret)
- : "0" (200) /*SYS_tkill*/, "D" (pid), "S" (sig) );
+ : "0" (200) /*SYS_tkill*/, "D" (tid), "S" (sig) );
Shouldn't this line change "pid" to "tgid" instead of "tid"?
--
Rob Shearman