diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 13ccaf30df..89f879b459 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-02-07 Pedro Alves + + * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print. + 2014-02-06 Jan Kratochvil Fix i386-sse-stack-align.exp regression since GDB_PARALLEL. diff --git a/gdb/testsuite/gdb.threads/stepi-random-signal.exp b/gdb/testsuite/gdb.threads/stepi-random-signal.exp index d099c91be0..168b226ec8 100644 --- a/gdb/testsuite/gdb.threads/stepi-random-signal.exp +++ b/gdb/testsuite/gdb.threads/stepi-random-signal.exp @@ -56,6 +56,11 @@ delete_breakpoints # really dequeued and that GDB sees it. gdb_test_no_output "set debug infrun 1" +# Make sure the target backend reports the signal to GDB core. Some +# backends (like Linux) skip reporting a signal if set to +# pass/nostop/noprint, resuming the thread immediately instead. +gdb_test "handle SIGCHLD print" + # Helper to extract the current PC. PREFIX is used to make each call # have its own unique test name.