]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
gdb.threads/schedlock.exp: handle "stopped" too (WIP, to squash)
authorPedro Alves <pedro@palves.net>
Thu, 8 Jun 2023 13:55:13 +0000 (14:55 +0100)
committerPedro Alves <pedro@palves.net>
Mon, 9 Jun 2025 17:49:19 +0000 (18:49 +0100)
Is there testsuite code handling SIGTRAP that we can clean up?

Change-Id: I6efa8ea3706c9d1f8dda2cc99a5c1f9ad54f26f2

gdb/testsuite/gdb.threads/schedlock.exp

index a81487410338de670fe0589efc79dcb62dbbddd8..73cbc1189c3cba35e93add54772f858dff5b7dec 100644 (file)
@@ -74,6 +74,10 @@ proc stop_process { description } {
       {
        pass $description
       }
+    -re "Thread .* stopped.*\r\n$gdb_prompt $"
+      {
+       pass $description
+      }
     timeout
       {
        fail "$description (timeout)"