From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 115732 invoked by alias); 20 Mar 2015 17:51:50 -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 115715 invoked by uid 89); 20 Mar 2015 17:51:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: mtaout23.012.net.il Received: from mtaout23.012.net.il (HELO mtaout23.012.net.il) (80.179.55.175) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 20 Mar 2015 17:51:47 +0000 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NLI00700UNVF100@a-mtaout23.012.net.il> for gdb-patches@sourceware.org; Fri, 20 Mar 2015 19:51:44 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NLI007L7UY7BY60@a-mtaout23.012.net.il>; Fri, 20 Mar 2015 19:51:44 +0200 (IST) Date: Fri, 20 Mar 2015 17:51:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH 9/9] Document "target:" sysroot changes In-reply-to: <1426870087-32654-10-git-send-email-gbenson@redhat.com> To: Gary Benson Cc: gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83oannv9ox.fsf@gnu.org> References: <1426870087-32654-1-git-send-email-gbenson@redhat.com> <1426870087-32654-10-git-send-email-gbenson@redhat.com> X-IsSubscribed: yes X-SW-Source: 2015-03/txt/msg00665.txt.bz2 > From: Gary Benson > Date: Fri, 20 Mar 2015 16:48:07 +0000 > > This commit documents the newly added "target:" sysroot feature. Thanks. > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -7,6 +7,11 @@ > present in the debug info. This typically includes the compiler version > and may include things like its command line arguments. > > +* Paths supplied to the "set sysroot" commands may be prefixed with > + "target:" to tell GDB to access shared libraries from the target > + system, be it local or remote. This replaces the prefix "remote:". > + The default sysroot has been changed from "" to "target:". The Gnu Coding Standards frown on using "path" for anything but PATH-style directory lists. Please use "directory name" instead. > +root prefix on the remote file system. If @var{path} starts with the > +sequence @file{remote:} this will be converted to the sequence > +@file{target:} by @code{set sysroot}. @footnote{Historically the The @footnote should be before the period, and without any whitespace before it. > +functionality to retrieve binaries from the remote system was > +provided by prefixing @var{path} with @file{remote:}} @footnote{If you > +want to specify a local system root using a directory that happens to > +be named @file{target:} or @file{remote:}, you need to use some > +equivalent variant of the name like @file{./target:}.} The second footnote should not be a footnote, as it is an important part of the description. Thanks.