From patchwork Thu Oct 12 17:17:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 23502 Received: (qmail 68237 invoked by alias); 12 Oct 2017 17:17:09 -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 68222 invoked by uid 89); 12 Oct 2017 17:17:09 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= 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 ESMTP; Thu, 12 Oct 2017 17:17:06 +0000 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 823DC85543 for ; Thu, 12 Oct 2017 17:17:05 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 823DC85543 Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx04.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=palves@redhat.com Received: from cascais.lan (ovpn04.gateway.prod.ext.ams2.redhat.com [10.39.146.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0AB4F1751B for ; Thu, 12 Oct 2017 17:17:04 +0000 (UTC) From: Pedro Alves To: gdb-patches@sourceware.org Subject: [pushed] Enable gdb.threads/non-ldr-exc-*.exp on is_remote target boards Date: Thu, 12 Oct 2017 18:17:04 +0100 Message-Id: <1507828624-27455-1-git-send-email-palves@redhat.com> This commit makes the gdb.threads/non-ldr-exc-*.exp tests run (and pass) with --target_board=native-gdbserver. (These tests were already running with --target_board=native-extended-gdbserver, because that board is not is_remote.) The "No exec event support in the remote protocol." comment is stale. It's actually supported. gdb/ChangeLog: 2017-10-12 Pedro Alves * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target. * gdb.threads/non-ldr-exc-2.exp: Ditto. * gdb.threads/non-ldr-exc-3.exp: Ditto. * gdb.threads/non-ldr-exc-4.exp: Ditto. --- gdb/testsuite/ChangeLog | 7 +++++++ gdb/testsuite/gdb.threads/non-ldr-exc-1.exp | 5 ----- gdb/testsuite/gdb.threads/non-ldr-exc-2.exp | 5 ----- gdb/testsuite/gdb.threads/non-ldr-exc-3.exp | 5 ----- gdb/testsuite/gdb.threads/non-ldr-exc-4.exp | 5 ----- 5 files changed, 7 insertions(+), 20 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 77d638b..b6cd6ee 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2017-10-12 Pedro Alves + + * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target. + * gdb.threads/non-ldr-exc-2.exp: Ditto. + * gdb.threads/non-ldr-exc-3.exp: Ditto. + * gdb.threads/non-ldr-exc-4.exp: Ditto. + 2017-10-11 Anton Kolesov * gdb.arch/arc-tdesc-cpu.exp: New file. diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp index 689246f..558810d 100644 --- a/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp +++ b/gdb/testsuite/gdb.threads/non-ldr-exc-1.exp @@ -16,11 +16,6 @@ # Test that when a thread other than the main thread execs, we follow # through to the new incarnation of the main thread. -# No exec event support in the remote protocol. -if { [is_remote target] } then { - continue -} - standard_testfile set executable ${testfile} diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp index 1b7be25..077c192 100644 --- a/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp +++ b/gdb/testsuite/gdb.threads/non-ldr-exc-2.exp @@ -17,11 +17,6 @@ # through to the new incarnation of the main thread, even if the main # thread had already exited before the exec. -# No exec event support in the remote protocol. -if { [is_remote target] } then { - continue -} - standard_testfile set executable ${testfile} diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp index 74ee6a7..3c88d1d 100644 --- a/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp +++ b/gdb/testsuite/gdb.threads/non-ldr-exc-3.exp @@ -19,11 +19,6 @@ # non-ldr-exc-2.exp in that we have more than two threads in the # program when the exec happens. -# No exec event support in the remote protocol. -if { [is_remote target] } then { - continue -} - standard_testfile set executable ${testfile} diff --git a/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp b/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp index f306b9d..04e81e3 100644 --- a/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp +++ b/gdb/testsuite/gdb.threads/non-ldr-exc-4.exp @@ -18,11 +18,6 @@ # from non-ldr-exc-1.exp in that we have more than two threads in the # program when the exec happens. -# No exec event support in the remote protocol. -if { [is_remote target] } then { - continue -} - standard_testfile set executable ${testfile}