Patchwork Fix a typo in gcov.texi

login
register
mail settings
Submitter Marek Polacek
Date Sept. 27, 2012, 9:59 a.m.
Message ID <20120927095938.GC32423@redhat.com>
Download mbox | patch
Permalink /patch/187321/
State New
Headers show

Comments

Marek Polacek - Sept. 27, 2012, 9:59 a.m.
Instead of -profile-dir, we want -fprofile-dir, I'm afraid.  Ok?

2012-09-27  Marek Polacek  <polacek@redhat.com>

	* doc/gcov.texi (Gcov Data Files): Fix a typo.


	Marek
Jakub Jelinek - Sept. 27, 2012, 10:41 a.m.
On Thu, Sep 27, 2012 at 11:59:38AM +0200, Marek Polacek wrote:
> Instead of -profile-dir, we want -fprofile-dir, I'm afraid.  Ok?
> 
> 2012-09-27  Marek Polacek  <polacek@redhat.com>
> 
> 	* doc/gcov.texi (Gcov Data Files): Fix a typo.

Ok.  --profile-dir=/tmp/ also works, but not -profile-dir=/tmp/.

> --- gcc/doc/gcov.texi.mp	2012-09-27 11:55:45.658201583 +0200
> +++ gcc/doc/gcov.texi	2012-09-27 11:56:05.335252754 +0200
> @@ -555,7 +555,7 @@ file suffix with either @file{.gcno}, or
>  contain coverage and profile data stored in a platform-independent format.
>  The @file{.gcno} files are placed in the same directory as the object
>  file.  By default, the @file{.gcda} files are also stored in the same
> -directory as the object file, but the GCC @option{-profile-dir} option
> +directory as the object file, but the GCC @option{-fprofile-dir} option
>  may be used to store the @file{.gcda} files in a separate directory.
>  
>  The @file{.gcno} notes file is generated when the source file is compiled
> 
> 	Marek

	Jakub

Patch

--- gcc/doc/gcov.texi.mp	2012-09-27 11:55:45.658201583 +0200
+++ gcc/doc/gcov.texi	2012-09-27 11:56:05.335252754 +0200
@@ -555,7 +555,7 @@  file suffix with either @file{.gcno}, or
 contain coverage and profile data stored in a platform-independent format.
 The @file{.gcno} files are placed in the same directory as the object
 file.  By default, the @file{.gcda} files are also stored in the same
-directory as the object file, but the GCC @option{-profile-dir} option
+directory as the object file, but the GCC @option{-fprofile-dir} option
 may be used to store the @file{.gcda} files in a separate directory.
 
 The @file{.gcno} notes file is generated when the source file is compiled