From patchwork Wed Mar 19 15:57:54 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pedro Alves X-Patchwork-Id: 160 Return-Path: X-Original-To: siddhesh@wilcox.dreamhost.com Delivered-To: siddhesh@wilcox.dreamhost.com Received: from homiemail-mx20.g.dreamhost.com (caibbdcaaahc.dreamhost.com [208.113.200.72]) by wilcox.dreamhost.com (Postfix) with ESMTP id 30F173600D6 for ; Wed, 19 Mar 2014 08:58:14 -0700 (PDT) Received: by homiemail-mx20.g.dreamhost.com (Postfix, from userid 14314964) id E7B2840FFB80B; Wed, 19 Mar 2014 08:58:13 -0700 (PDT) X-Original-To: gdb@patchwork.siddhesh.in Delivered-To: x14314964@homiemail-mx20.g.dreamhost.com Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by homiemail-mx20.g.dreamhost.com (Postfix) with ESMTPS id CAF7C40FF6A95 for ; Wed, 19 Mar 2014 08:58:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=AEK8WBALxsWpkViCfjtjZebq/t8vtSn ZCAp0jKae9xVPnw/p/WMnJWd9v9SfNVFQkZ8L8CCCSN1cBIfZJ32zOeoQAF9SNKf 2Q1Pgj5474lTnfGVFdKX9WSxsY1RiI3aAtYhgWIDpIAhR+KDbv5ApLIaX18CLt60 Sb0SGRyN7HDM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:in-reply-to :references; s=default; bh=fPip930/NeZcCzmpDp4rYwhIcfM=; b=fKH8r dh7/6d6l3JjibqS6zj/6jBoem5NUDooxmlMNk9I21hoAu7jOyIVNipxAMjLqClxT 4tR0Mmy+cY+oMIJTmpIB1hXYMNCSm0EwFAgKOmm9tg1LaXc5De3Xa7WgPdfHskv3 causjYs+a2zdNDvcQ4tChlOAmgNgZgUL6YBbRQ= Received: (qmail 19276 invoked by alias); 19 Mar 2014 15:58:06 -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 19255 invoked by uid 89); 19 Mar 2014 15:58:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham 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 ESMTP; Wed, 19 Mar 2014 15:58:04 +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 (8.14.4/8.14.4) with ESMTP id s2JFw3sj008875 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 19 Mar 2014 11:58:03 -0400 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 s2JFw1MC008699 for ; Wed, 19 Mar 2014 11:58:03 -0400 From: Pedro Alves To: gdb-patches@sourceware.org Subject: [PUSHED 1/8] gdb.base/async.exp: Leave gdb_protocol alone. Date: Wed, 19 Mar 2014 15:57:54 +0000 Message-Id: <1395244681-24272-2-git-send-email-palves@redhat.com> In-Reply-To: <1395244681-24272-1-git-send-email-palves@redhat.com> References: <1395244681-24272-1-git-send-email-palves@redhat.com> X-DH-Original-To: gdb@patchwork.siddhesh.in Many eons ago, async was only implemented in the remote target, and you'd activate it by doing "target async" rather than "target remote". That's long gone now, replaced by "set target-async on". gdb/testsuite/ 2014-03-19 Pedro Alves * gdb.base/async.exp: Don't frob gdb_protocol. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.base/async.exp | 18 ------------------ 2 files changed, 4 insertions(+), 18 deletions(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index a7da03c..c1349b6 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2014-03-19 Pedro Alves + + * gdb.base/async.exp: Don't frob gdb_protocol. + 2014-03-18 Doug Evans * gdb.base/async.exp: Whitespace fixes. Turn on target-async. diff --git a/gdb/testsuite/gdb.base/async.exp b/gdb/testsuite/gdb.base/async.exp index 3cd7dfb..1f465a6 100644 --- a/gdb/testsuite/gdb.base/async.exp +++ b/gdb/testsuite/gdb.base/async.exp @@ -36,15 +36,6 @@ if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} { return 0 ######################################## -set board [target_info name] -set current_target [target_info gdb_protocol] -if { $current_target == "remote" } { - unset_board_info "gdb_protocol" - set_board_info "gdb_protocol" "async" -} else { - return 0 -} - gdb_exit gdb_start gdb_reinitialize_dir $srcdir/$subdir @@ -129,12 +120,3 @@ gdb_expect { } gdb_test_no_output "set exec-done-display off" - -unset_board_info "gdb_protocol" -set_board_info "gdb_protocol" "remote" - - - - - -