testsuite: gdb.gdb/selftest.exp: Drop expected Thread number
authorJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 22 Jan 2016 20:49:38 +0000 (21:49 +0100)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Fri, 22 Jan 2016 20:49:38 +0000 (21:49 +0100)
Pedro Alves:
Looks like you forgot to amend before pushing though -- the version
checked in still had "Thread 1".

gdb/testsuite/ChangeLog
2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
    Pedro Alves  <palves@redhat.com>

Fix testsuite compatibility with Guile.
* gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
number.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.gdb/selftest.exp

index 5e99adf8b1fe7217e7ab13cf46b0fe35cd4b894e..8f7dc6d01eb4094ca5b22e6b6d790776cf4a4dd0 100644 (file)
@@ -1,3 +1,10 @@
+2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
+           Pedro Alves  <palves@redhat.com>
+
+       Fix testsuite compatibility with Guile.
+       * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
+       number.
+
 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        Fix testsuite compatibility with Guile.
index 3d98a0c58e347961b3a4d056f5b88a815125f2cc..969797ae31f10315702b03d87d2703abdfccb37f 100644 (file)
@@ -438,7 +438,7 @@ proc test_with_self { executable } {
        send_gdb "\003"
        # "Thread 1" is displayed iff Guile support is linked in.
        gdb_expect {
-           -re "(Thread .*|Program) received signal SIGINT.*$gdb_prompt $" {
+           -re "(Thread .*|Program) received signal SIGINT.*$gdb_prompt $" {
                pass "$description"
            }
            -re ".*$gdb_prompt $" {