diff --git a/server/mach.c b/server/mach.c index ec121e2e52f..111953c773a 100644 --- a/server/mach.c +++ b/server/mach.c @@ -243,6 +243,8 @@ int send_thread_signal( struct thread *thread, int sig ) thread->unix_tid = -1; } } + if (debug_level && ret != -1) + fprintf( stderr, "%04x: *sent signal* signal=%d\n", thread->id, sig ); return (ret != -1); } diff --git a/server/ptrace.c b/server/ptrace.c index 37c15c027a9..14a29f52cac 100644 --- a/server/ptrace.c +++ b/server/ptrace.c @@ -262,6 +262,8 @@ int send_thread_signal( struct thread *thread, int sig ) thread->unix_tid = -1; } } + if (debug_level && ret != -1) + fprintf( stderr, "%04x: *sent signal* signal=%d\n", thread->id, sig ); return (ret != -1); }