gdb.threads/signal-command-handle-nopass.exp: Add comment
Explain why we do "info threads". gdb/testsuite/ 2014-07-30 Pedro Alves <palves@redhat.com> * gdb.threads/signal-command-handle-nopass.exp (test): Add comment.
This commit is contained in:
parent
a1c7835a2f
commit
cc6563d29b
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue