diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/stepi-random-signal.exp | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 13ccaf3..89f879b 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-02-07 Pedro Alves <palves@redhat.com> + + * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print. + 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com> 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 d099c91..168b226 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. |