diff options
-rw-r--r-- | gdb/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a90ee8b..6eb8f3e 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-07-30 Pedro Alves <palves@redhat.com> + + * gdb.threads/signal-command-handle-nopass.exp (test): Add + comment. + 2014-07-29 Yao Qi <yao@codesourcery.com> PR gdb/17206 diff --git a/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp b/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp index 3ea9cf8..e46a0ab 100644 --- a/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp +++ b/gdb/testsuite/gdb.threads/signal-command-handle-nopass.exp @@ -69,6 +69,10 @@ proc test { step_over } { gdb_test "signal SIGUSR1" "handler .*" + # Make sure it was thread 1 that got the signal. Note we list + # all threads instead of just thread 1, so that if something + # goes wrong and another thread ends up selected, we can + # easily see which in the logs. gdb_test "info threads" $pattern "thread 1 got the signal" } } |