From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9334 invoked by alias); 14 Aug 2008 19:37:00 -0000 Received: (qmail 9325 invoked by uid 22791); 14 Aug 2008 19:36:59 -0000 X-Spam-Check-By: sourceware.org Received: from mtaout5.012.net.il (HELO mtaout5.012.net.il) (84.95.2.13) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 14 Aug 2008 19:36:10 +0000 Received: from HOME-C4E4A596F7 ([84.229.211.50]) by i_mtaout5.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0K5L005G0VRYNLH0@i_mtaout5.012.net.il> for gdb-patches@sourceware.org; Thu, 14 Aug 2008 22:35:59 +0300 (IDT) Date: Thu, 14 Aug 2008 19:37:00 -0000 From: Eli Zaretskii Subject: Re: [rfc/rfa] Retrieve libraries from remote target In-reply-to: <200808131953.m7DJrw9Q009592@d12av02.megacenter.de.ibm.com> X-012-Sender: halo1@inter.net.il To: Ulrich Weigand Cc: gdb-patches@sourceware.org, drow@false.org Reply-to: Eli Zaretskii Message-id: References: <200808131953.m7DJrw9Q009592@d12av02.megacenter.de.ibm.com> X-IsSubscribed: yes 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 X-SW-Source: 2008-08/txt/msg00378.txt.bz2 > Date: Wed, 13 Aug 2008 21:53:58 +0200 (CEST) > From: "Ulrich Weigand" > Cc: drow@false.org, eliz@gnu.org > > here is an updated version of the patch to have GDB automatically retrieve > shared libraries from the remote target: > http://sourceware.org/ml/gdb-patches/2008-05/msg00287.html Thanks! > +configurations. GDB needs to have access to the target's libraries; > +this can be accomplished either by providing copies of the libraries > +on the host system, or by asking GDB to automatically retrieve the > +libraries from the target. If copies of the target libraries are > +provided, they need to be the same as the target libraries, although the Please use @value{GDBN}", rather than a literal "GDB", here and elsewhere in your patch for the manual. > +If @var{path} starts with the sequence @file{remote:}, GDB will > +retrieve the target libraries from the remote system. This is only > +supported when using a remote target that supports the @code{remote get} > +command. It would be useful to add a cross-reference here to where "remote get" is described in the manual. > +* GDB now supports automatically retrieving shared library files from remote > +targets by using the `remote:' prefix on a system root path specified via > +the `set setroot' command or the `--with-sysroot' configure option. First, you probably meant "set sysroot", not "set setroot". More importantly, this sentence should be rephrased, e.g.: +* GDB now supports automatic retrieval of shared library files from +remote targets. To use this feature, specify a system root that begins +with the `remote:' prefix, either via the `set sysroot' command or via +the `--with-sysroot' configure-time option. As written, the sentence in effect says that it's GDB who uses the `remote:' prefix, which is probably not what you mean. Other than that, the doco patches are approved.