From patchwork Thu Aug 20 19:20:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 8329 Received: (qmail 94924 invoked by alias); 20 Aug 2015 19:20:11 -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 94914 invoked by uid 89); 20 Aug 2015 19:20:10 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=AWL, BAYES_20, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=no version=3.3.2 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; Thu, 20 Aug 2015 19:20:09 +0000 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 7C2FEA37EC for ; Thu, 20 Aug 2015 19:20:08 +0000 (UTC) Received: from brno.lan (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7KJK73k003162 for ; Thu, 20 Aug 2015 15:20:08 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [pushed] Fix gdb.server/solib-list.exp native-extended-gdbserver regression Date: Thu, 20 Aug 2015 20:20:06 +0100 Message-Id: <1440098406-13317-1-git-send-email-palves@redhat.com> Commit 221e1a37 (remote non-stop: Process initially stopped threads before other commands) caused a test regression when testing with the native-extended-gdbserver board: FAIL: gdb.server/solib-list.exp: non-stop 1: non-stop interior stop (timeout) This "interior stop" now happens before "target remote" prints the prompt, so we should no longer explicitly expect it. gdb/testsuite/ChangeLog: 2015-08-20 Pedro Alves * gdb.server/solib-list.exp: No longer expect an interior stop in non-stop mode. --- gdb/testsuite/ChangeLog | 5 +++++ gdb/testsuite/gdb.server/solib-list.exp | 9 --------- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index d2b9c6a..3ab4d74 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2015-08-20 Pedro Alves + * gdb.server/solib-list.exp: No longer expect an interior stop in + non-stop mode. + +2015-08-20 Pedro Alves + * gdb.server/connect-stopped-target.c: New file. * gdb.server/connect-stopped-target.exp: New file. diff --git a/gdb/testsuite/gdb.server/solib-list.exp b/gdb/testsuite/gdb.server/solib-list.exp index ae6bfc6..0acc40c 100644 --- a/gdb/testsuite/gdb.server/solib-list.exp +++ b/gdb/testsuite/gdb.server/solib-list.exp @@ -92,15 +92,6 @@ foreach nonstop { 0 1 } { with_test_prefix "non-stop $nonstop" { } } - if $nonstop { - set test "non-stop interior stop" - gdb_test_multiple "" $test { - -re " #1 stopped\\.\r\n" { - pass $test - } - } - } - gdb_test "continue" "Program received signal SIGUSR1, .*" gdb_test "sharedlibrary" ".*" gdb_test "p libvar" " = 23"