From 092127d743462e370fd1156cb746f814a7b46593 Mon Sep 17 00:00:00 2001 From: Jan Kratochvil Date: Fri, 22 Jan 2016 21:49:38 +0100 Subject: [PATCH] testsuite: gdb.gdb/selftest.exp: Drop expected Thread number 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 Pedro Alves Fix testsuite compatibility with Guile. * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread number. --- gdb/testsuite/ChangeLog | 7 +++++++ gdb/testsuite/gdb.gdb/selftest.exp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5e99adf8b1f..8f7dc6d01eb 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2016-01-22 Jan Kratochvil + Pedro Alves + + Fix testsuite compatibility with Guile. + * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread + number. + 2016-01-22 Jan Kratochvil Fix testsuite compatibility with Guile. diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 3d98a0c58e3..969797ae31f 100644 --- a/gdb/testsuite/gdb.gdb/selftest.exp +++ b/gdb/testsuite/gdb.gdb/selftest.exp @@ -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 1 .*|Program) received signal SIGINT.*$gdb_prompt $" { + -re "(Thread .*|Program) received signal SIGINT.*$gdb_prompt $" { pass "$description" } -re ".*$gdb_prompt $" { -- 2.30.2