summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartosz Nitka <niteria@gmail.com>2018-03-05 11:10:11 -0800
committerBartosz Nitka <niteria@gmail.com>2018-03-06 05:59:25 -0800
commit9bccfcdbbf97250ede05a9351de48f8fa1788217 (patch)
treecbd36d9176d67606027ff925cd4970a04a773c86
parent5bc195a2caddc5c29cf24e9c731dd8d5050f2c66 (diff)
downloadhaskell-9bccfcdbbf97250ede05a9351de48f8fa1788217.tar.gz
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
-rw-r--r--docs/users_guide/debug-info.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/users_guide/debug-info.rst b/docs/users_guide/debug-info.rst
index aca3733535..9a3a67131f 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