From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 43926 invoked by alias); 11 Oct 2017 08:17:46 -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 43897 invoked by uid 89); 11 Oct 2017 08:17:43 -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=encouraged, locating 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, 11 Oct 2017 08:17:37 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 5FD80C0587ED; Wed, 11 Oct 2017 08:17:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 5FD80C0587ED Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com Authentication-Results: ext-mx08.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=kevinb@redhat.com Received: from pinnacle.lan (ovpn-116-131.phx2.redhat.com [10.3.116.131]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 3F54217AF8; Wed, 11 Oct 2017 08:17:36 +0000 (UTC) Date: Wed, 11 Oct 2017 08:17:00 -0000 From: Kevin Buettner To: Andreas Arnez Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 1/2] GDB test suite: Add helper for locating core files Message-ID: <20171011011733.19b3658c@pinnacle.lan> In-Reply-To: References: <1505760152-28775-1-git-send-email-arnez@linux.vnet.ibm.com> <1505760152-28775-2-git-send-email-arnez@linux.vnet.ibm.com> <20171007094545.1bba5c51@pinnacle.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00272.txt.bz2 On Mon, 09 Oct 2017 20:46:21 +0200 Andreas Arnez wrote: > > Instead, several warnings are now printed instead: > > > > WARNING: Can not generate core dump on remote target. > > These warnings are newly introduced by the patch. Yes, I saw that. > They are meant to > improve diagnostics when someone attempts to run the tests on a "real" > remote target. I wanted to clearly document the fact that this is > unsupported (and always was). Also, by documenting this restriction, > maybe someone feels encouraged to lift it ;-) In the distant past, I used to run the testsuite against resource constrained linux machines often of a different architecture from the host I was running the tests from. These machines would run gdbserver built for that architecture. Now, I don't recall whether corefile support in the testsuite actually worked for those targets, but it at least seems possible due to the various invocations of remote_exec which are present (prior to your patch). Do you think you could restore those calls to remote_exec in your patch? Or do you know for a fact that they do not work? Kevin