From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93298 invoked by alias); 22 Sep 2015 20:54:05 -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 93277 invoked by uid 89); 22 Sep 2015 20:54:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: usevmg20.ericsson.net Received: from usevmg20.ericsson.net (HELO usevmg20.ericsson.net) (198.24.6.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Tue, 22 Sep 2015 20:54:03 +0000 Received: from EUSAAHC002.ericsson.se (Unknown_Domain [147.117.188.78]) by usevmg20.ericsson.net (Symantec Mail Security) with SMTP id 0C.A5.32596.BC061065; Tue, 22 Sep 2015 16:08:11 +0200 (CEST) Received: from elxcz23q12-y4.dyn.mo.ca.am.ericsson.se (147.117.188.8) by smtps-am.internal.ericsson.com (147.117.188.78) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 22 Sep 2015 16:54:00 -0400 From: Simon Marchi To: CC: Simon Marchi Subject: [PATCH/obv] doc: Fix substitute-path example Date: Tue, 22 Sep 2015 20:54:00 -0000 Message-ID: <1442955237-13163-1-git-send-email-simon.marchi@ericsson.com> MIME-Version: 1.0 Content-Type: text/plain X-IsSubscribed: yes X-SW-Source: 2015-09/txt/msg00540.txt.bz2 FYI. Found by Marc Khouzam. gdb/doc/ChangeLog: * gdb.texinfo (Specifying Source Directories): Fix substitute-path example. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 9164b89..dc9bc88 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2015-09-22 Simon Marchi + + * gdb.texinfo (Specifying Source Directories): Fix + substitute-path example. + 2015-09-18 Markus Metzger * gdb.texinfo (All-Stop Mode): Describe new scheduler-locking mode. diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 0687039..57e47b8 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -7983,11 +7983,11 @@ For example, if the file @file{/foo/bar/baz.c} was moved to @file{/mnt/cross/baz.c}, then the command @smallexample -(@value{GDBP}) set substitute-path /usr/src /mnt/cross +(@value{GDBP}) set substitute-path /foo/bar /mnt/cross @end smallexample @noindent -will tell @value{GDBN} to replace @samp{/usr/src} with +will tell @value{GDBN} to replace @samp{/foo/bar} with @samp{/mnt/cross}, which will allow @value{GDBN} to find the file @file{baz.c} even though it was moved. -- 2.5.1