From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128785 invoked by alias); 12 Aug 2015 10:05:45 -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 128773 invoked by uid 89); 12 Aug 2015 10:05:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,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; Wed, 12 Aug 2015 10:05:44 +0000 Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id CD06957; Wed, 12 Aug 2015 10:05:42 +0000 (UTC) Received: from [127.0.0.1] (ovpn01.gateway.prod.ext.ams2.redhat.com [10.39.146.11]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t7CA5dVB015715; Wed, 12 Aug 2015 06:05:40 -0400 Message-ID: <55CB1A73.8000600@redhat.com> Date: Wed, 12 Aug 2015 10:05:00 -0000 From: Pedro Alves User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Doug Evans , Gary Benson CC: gdb-patches@sourceware.org, Sandra Loosemore , Jan Kratochvil , =?UTF-8?B?QW5kcsOpIFDDtm5pdHo=?= , Paul_Koning@Dell.com Subject: Re: [PATCH 0/2] Better handling of slow remote transfers References: <001a11c301b0388ac5051d0c5ab8@google.com> In-Reply-To: <001a11c301b0388ac5051d0c5ab8@google.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2015-08/txt/msg00266.txt.bz2 On 08/11/2015 06:22 PM, Doug Evans wrote: > Gary Benson writes: > > Hi all, > > > > Since March or so GDB has been able to access inferior binaries for > > remote targets without having to be explicitly told to. This caused > > problems for some people with slow connections: > > > > https://sourceware.org/ml/gdb/2015-07/msg00038.html > > > > The first patch in this series adds the warning messages requested > > in that thread. The second commit should make long transfers > > interruptible. > > > > Built and regtested on RHEL 6.6 x86_64. > > > > Ok to commit? > > For 7.10, one thought is to maintain the behaviour of 7.9 > and give ourselves more time to address this. Agreed. My opinion, as expressed elsewhere in the gdb@ thread, is that in order to be able to have target: by default in 7.10, we'd try to both sort out the interruptibility and add a suggestive warning, assuming both were easy to do, and not invasive, and check if that would be a sufficient resolution. Seems like the interruptibility issue isn't trivial to solve, so I think we need to go do that -- change the default sysroot back to "", (and tweak the docs/NEWS accordingly), and buy some time to sort this out on master. Users can still then put "set sysroot target:" in .gdbinit with 7.10, integrators should still be able to build with --with-sysroot=target: (or revert the future-default-sysroot-reversion patch), and we can continue addressing identified issues until "target:" (or something around it, maybe building up on Jan's buildid work) can be made the default, on master. > IOW, can we have (or is there already) a configure > option that controls the default behaviour, > and can we default it to what 7.9 does > (not auto-fetch files) ? I think that would be the existing --with-sysroot. Thanks, Pedro Alves