diff options
Diffstat (limited to 'gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c')
-rw-r--r-- | gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c b/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c index a4634f2..8839a6f 100644 --- a/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c +++ b/gdb/testsuite/gdb.threads/signal-while-stepping-over-bp-other-thread.c @@ -138,6 +138,8 @@ main () pthread_barrier_wait (&barrier); callme (); /* set wait-thread-3 breakpoint here */ + pthread_kill (child_thread_2, SIGUSR1); + pthread_join (child_thread_2, NULL); pthread_join (child_thread_3, NULL); |