From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 59276 invoked by alias); 24 Mar 2016 16:59:36 -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 59259 invoked by uid 89); 24 Mar 2016 16:59:35 -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,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=79, Hx-languages-length:763 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; Thu, 24 Mar 2016 16:59:25 +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 (Postfix) with ESMTPS id 908D9C00EB3C for ; Thu, 24 Mar 2016 16:59:24 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-116-22.ams2.redhat.com [10.36.116.22]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2OGxLU3024387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 24 Mar 2016 12:59:23 -0400 Date: Thu, 24 Mar 2016 16:59:00 -0000 From: Jan Kratochvil To: Pedro Alves Cc: gdb-patches@sourceware.org, Gary Benson Subject: Re: [patch] Suggest newer gdbserver if it has no qXfer:exec-file:read Message-ID: <20160324165920.GA11602@host1.jankratochvil.net> References: <20160319201842.GA16540@host1.jankratochvil.net> <56F13963.9040204@redhat.com> <20160322131604.GA24312@host1.jankratochvil.net> <56F14F1E.5010606@redhat.com> <20160323211547.GA17400@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160323211547.GA17400@host1.jankratochvil.net> User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00498.txt.bz2 On Wed, 23 Mar 2016 22:15:47 +0100, Jan Kratochvil wrote: > With current FSF GDB HEAD and old FSF gdbserver I expected I could do: > gdb -ex 'file target:/root/redhat/threadit' -ex 'target remote :1234' > (supplying that unsupported qXfer:exec-file:read by "file") > But that does not work because: > Sending packet: $vFile:setfs:0#bf...Packet received: OK > Packet vFile:setfs (hostio-setfs) is supported > ... > Sending packet: $vFile:setfs:104#24...Packet received: OK > "target:/root/redhat/threadit": could not open as an executable file: Invalid argument Filed as: 7.10 regression: gdb remote.c due to "setfs" with gdbserver <=7.9 https://sourceware.org/bugzilla/show_bug.cgi?id=19863