OSDN Git Service

PR target/47935
[pf3gnuchains/gcc-fork.git] / gcc / doc / gcov.texi
index 74ada12..4c71e19 100644 (file)
@@ -130,6 +130,7 @@ gcov [@option{-v}|@option{--version}] [@option{-h}|@option{--help}]
      [@option{-f}|@option{--function-summaries}]
      [@option{-o}|@option{--object-directory} @var{directory|file}] @var{sourcefiles}
      [@option{-u}|@option{--unconditional-branches}]
+     [@option{-d}|@option{--display-progress}]
 @c man end
 @c man begin SEEALSO
 gpl(7), gfdl(7), fsf-funding(7), gcc(1) and the Info entry for @file{gcc}.
@@ -211,6 +212,10 @@ option is not supplied, it defaults to the current directory.
 When branch probabilities are given, include those of unconditional branches.
 Unconditional branches are normally not interesting.
 
+@item -d
+@itemx --display-progress
+Display the progress on the standard output.
+
 @end table
 
 @command{gcov} should be run with the current directory the same as that
@@ -549,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