]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/testsuite/gdb.threads/schedlock.exp
Fix PR threads/19422 - show which thread caused stop
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.threads / schedlock.exp
index 82326977f474338b7a4c16a78c3b8f6b6e62299c..6fb669818c5dc2e456432ee6d23a9da83749f824 100644 (file)
@@ -69,7 +69,7 @@ proc stop_process { description } {
   # message first, or GDB's signal handler may not be in place.
   after 1000 {send_gdb "\003"}
   gdb_expect {
-    -re "Program received signal SIGINT.*$gdb_prompt $"
+    -re "Thread .* received signal SIGINT.*$gdb_prompt $"
       {
        pass $description
       }