From patchwork Fri Jan 22 20:51:23 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jan Kratochvil X-Patchwork-Id: 10527 Received: (qmail 69297 invoked by alias); 22 Jan 2016 20:51:31 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 69212 invoked by uid 89); 22 Jan 2016 20:51:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1920, UD:gdb.gdb, gdb.gdb, gdbgdb X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 22 Jan 2016 20:51:29 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 211758F864 for ; Fri, 22 Jan 2016 20:51:28 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-93.ams2.redhat.com [10.36.116.93]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0MKpOMW015235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 22 Jan 2016 15:51:27 -0500 Date: Fri, 22 Jan 2016 21:51:23 +0100 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: [commit#2] [testsuite patch]#2 Fix PR threads/19422 regression + Guile regression [Re: [PATCH+doc] Fix PR threads/19422 - show which thread caused stop] Message-ID: <20160122205123.GA14872@host1.jankratochvil.net> References: <1451950202-18024-1-git-send-email-palves@redhat.com> <5697ABE8.7060705@redhat.com> <20160122173020.GA5946@host1.jankratochvil.net> <20160122173100.GA5990@host1.jankratochvil.net> <56A276EB.1070208@redhat.com> <20160122200542.GA12621@host1.jankratochvil.net> <56A28CE6.3090406@redhat.com> <56A28E40.205@redhat.com> <20160122202548.GA14352@host1.jankratochvil.net> <56A294BE.60805@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <56A294BE.60805@redhat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes On Fri, 22 Jan 2016 21:44:46 +0100, Pedro Alves wrote: > Looks like you forgot to amend before pushing though -- the version > checked in still had "Thread 1". That was a typo/thinko, sorry. Jan 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 5e99adf..8f7dc6d 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,4 +1,11 @@ 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. * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread. diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp index 3d98a0c..969797a 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 $" {