aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames E Wilson <wilson@tuliptree.org>2017-10-26 13:41:20 -0700
committerJim Wilson <wilson@gcc.gnu.org>2017-10-26 13:41:20 -0700
commit1cf6c17b6dbd361ed7c74414cc753e4037d0d0e8 (patch)
treecc09df9a1bf71d49d20841f31f5da66a79054f44
parent8a866b8296874b5f6f3371bb368c8191c828d98f (diff)
downloadgcc-1cf6c17b6dbd361ed7c74414cc753e4037d0d0e8.zip
gcc-1cf6c17b6dbd361ed7c74414cc753e4037d0d0e8.tar.gz
gcc-1cf6c17b6dbd361ed7c74414cc753e4037d0d0e8.tar.bz2
Add some usage info -fdebug-prefix-map= docs.
gcc/ * doc/invoke.texi (-fdebug-prefix-map): Expand documentation. From-SVN: r254121
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/doc/invoke.texi7
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 791f3c1..a2bc674 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-26 Jim Wilson <wilson@tuliptree.org>
+
+ * doc/invoke.texi (-fdebug-prefix-map): Expand documentation.
+
2017-10-26 Tom de Vries <tom@codesourcery.com>
PR tree-optimization/82707
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f950c3c..0d2121b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -6982,7 +6982,12 @@ link processing time. Merging is enabled by default.
@item -fdebug-prefix-map=@var{old}=@var{new}
@opindex fdebug-prefix-map
When compiling files in directory @file{@var{old}}, record debugging
-information describing them as in @file{@var{new}} instead.
+information describing them as in @file{@var{new}} instead. This can be
+used to replace a build time path with an install time path in the debug info.
+It can also be used to change an absolute path to a relative path by using
+@file{.} for @var{new}. This can give more reproducible builds, which are
+location independent, but may require an extra command to tell GDB where to
+find the source files.
@item -fvar-tracking
@opindex fvar-tracking