From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14068 invoked by alias); 15 Dec 2014 18:03:28 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 14056 invoked by uid 89); 15 Dec 2014 18:03:26 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 Dec 2014 18:03:24 +0000 Received: from svr-orw-fem-03.mgc.mentorg.com ([147.34.97.39]) by relay1.mentorg.com with esmtp id 1Y0ZzN-0005qk-CJ from Don_Breazeal@mentor.com for gdb-patches@sourceware.org; Mon, 15 Dec 2014 10:03:21 -0800 Received: from [172.30.2.64] (147.34.91.1) by SVR-ORW-FEM-03.mgc.mentorg.com (147.34.97.39) with Microsoft SMTP Server (TLS) id 14.3.181.6; Mon, 15 Dec 2014 10:03:21 -0800 Message-ID: <548F2263.4010302@codesourcery.com> Date: Mon, 15 Dec 2014 18:03:00 -0000 From: "Breazeal, Don" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: "Qi, Yao" CC: "gdb-patches@sourceware.org" Subject: Re: [PATCH] Skipping tests that use remote protocol References: <1418344896-9036-1-git-send-email-donb@codesourcery.com> <877fxxzhmx.fsf@codesourcery.com> <548B3B3B.5060709@codesourcery.com> <87mw6pt98q.fsf@codesourcery.com> In-Reply-To: <87mw6pt98q.fsf@codesourcery.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00406.txt.bz2 On 12/15/2014 3:58 AM, Qi, Yao wrote: > "Breazeal, Don" writes: > >> [target_info exists use_gdb_stub] alone would work for the attach >> tests, > > I am afraid not. attach tests should be skipped on remote host testing > (build != host, host == target) too, because test program is spawned on > build, and the corresponding pid (on build) is used for gdb (on host) to > attach. > Ah. Right. > Some tests have to be skipped on remote targets, and even on other > targets. I'd like to list all of them (tests having troubles running on > remote target), and then figure out how to fix them. We can use a > standard approach if necessary. > OK. I will start with all of the various attach tests for now. --Don