aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/gcov.texi
diff options
context:
space:
mode:
authorKai Tietz <kai.tietz@onevision.com>2010-10-17 19:43:34 +0000
committerKai Tietz <ktietz@gcc.gnu.org>2010-10-17 21:43:34 +0200
commit78e7dd6a36445e1861215309dadbd3e2f648499d (patch)
tree252952abc06e8a29e55ed6c3e9c48a36641ca00d /gcc/doc/gcov.texi
parent5b8b526e694bca2034af4cdeb8ad15e356446a98 (diff)
downloadgcc-78e7dd6a36445e1861215309dadbd3e2f648499d.zip
gcc-78e7dd6a36445e1861215309dadbd3e2f648499d.tar.gz
gcc-78e7dd6a36445e1861215309dadbd3e2f648499d.tar.bz2
libgcov.c (create_file_directory): Enable it for win32 case.
2010-10-17 Kai Tietz <kai.tietz@onevision.com> * libgcov.c (create_file_directory): Enable it for win32 case. (gcov_exit): De-couple GCOV_PREFIX and GCOV_PREFIX_STRIP. * doc/gcov.texi (GCOV_PREFIX): Adjusted. (GCOV_PREFIX_SKIP): Likewise. From-SVN: r165596
Diffstat (limited to 'gcc/doc/gcov.texi')
-rw-r--r--gcc/doc/gcov.texi8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/doc/gcov.texi b/gcc/doc/gcov.texi
index 3f48f3b..4c71e19 100644
--- a/gcc/doc/gcov.texi
+++ b/gcc/doc/gcov.texi
@@ -554,15 +554,15 @@ can relocate the data files based on two environment variables:
@itemize @bullet
@item
GCOV_PREFIX contains the prefix to add to the absolute paths
-in the object file. Prefix must be absolute as well, otherwise its
-value is ignored. The default is no prefix.
+in the object file. Prefix can be absolute, or relative. The
+default is no prefix.
@item
GCOV_PREFIX_STRIP indicates the how many initial directory names to strip off
the hardwired absolute paths. Default value is 0.
-@emph{Note:} GCOV_PREFIX_STRIP has no effect if GCOV_PREFIX is undefined, empty
-or non-absolute.
+@emph{Note:} If GCOV_PREFIX_STRIP is set without GCOV_PREFIX is undefined,
+ then a relative path is made out of the hardwired absolute paths.
@end itemize
For example, if the object file @file{/user/build/foo.o} was built with