gdb.threads/signal-command-handle-nopass.exp: Add comment
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.threads / signal-command-handle-nopass.exp
index 3ea9cf8ba5666d346e5811c1f471fdbd127bee89..e46a0ab6f079dba44f85fec024c45d262bc9ef45 100644 (file)
@@ -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"
     }
 }
This page took 0.023379 seconds and 4 git commands to generate.