mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-28 23:39:35 +08:00
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:
@ -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>
|
2014-07-29 Yao Qi <yao@codesourcery.com>
|
||||||
|
|
||||||
PR gdb/17206
|
PR gdb/17206
|
||||||
|
@ -69,6 +69,10 @@ proc test { step_over } {
|
|||||||
|
|
||||||
gdb_test "signal SIGUSR1" "handler .*"
|
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"
|
gdb_test "info threads" $pattern "thread 1 got the signal"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user