[commit: ghc] master: Correct -g flag description (9bccfcd)

git at git.haskell.org git at git.haskell.org
Tue Mar 6 13:59:43 UTC 2018


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9bccfcdbbf97250ede05a9351de48f8fa1788217/ghc

>---------------------------------------------------------------

commit 9bccfcdbbf97250ede05a9351de48f8fa1788217
Author: Bartosz Nitka <niteria at gmail.com>
Date:   Mon Mar 5 11:10:11 2018 -0800

    Correct -g flag description
    
    Since 7aaeaf81ea95c36fe1dc4da449cf6092a792fd09
    `-g1` and `-g2` are actually different.
    The tutorial below is correct.
    
    Test Plan: harbormaster
    
    Reviewers: bgamari, simonmar
    
    Reviewed By: bgamari
    
    Subscribers: rwbarton, thomie, carter
    
    Differential Revision: https://phabricator.haskell.org/D4471


>---------------------------------------------------------------

9bccfcdbbf97250ede05a9351de48f8fa1788217
 docs/users_guide/debug-info.rst | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/docs/users_guide/debug-info.rst b/docs/users_guide/debug-info.rst
index aca3733..9a3a671 100644
--- a/docs/users_guide/debug-info.rst
+++ b/docs/users_guide/debug-info.rst
@@ -17,8 +17,9 @@ useable by most UNIX debugging tools.
 
     Emit debug information in object code. Currently only DWARF debug
     information is supported on x86-64 and i386. Currently debug levels 0
-    through 3 are accepted, with 0 disabling debug information production.
-    Levels 1 through 3 are functionally equivalent.
+    through 3 are accepted, with 0 disabling debug information production
+    and higher numbers producing richer output. If ⟨n⟩ is omitted level 2
+    is assumed.
 
 
 Tutorial



More information about the ghc-commits mailing list