summaryrefslogtreecommitdiff
path: root/doc/debugging_with_gdb.html
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2014-04-16 01:19:26 -0400
committerShenghou Ma <minux.ma@gmail.com>2014-04-16 01:19:26 -0400
commitedef379fff39095b2aeeab0e51112a77678b0f73 (patch)
treed4f8dc74f36e280be9092b98c634f8221aab21a9 /doc/debugging_with_gdb.html
parentdb0d4bb96f62625aa064c7ecf3070dfe8653b7a2 (diff)
downloadgo-edef379fff39095b2aeeab0e51112a77678b0f73.tar.gz
doc/debugging_with_gdb: use -w to strip debug info.
Don't advertise -s anymore. Fixes issue 7793. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://codereview.appspot.com/88030045
Diffstat (limited to 'doc/debugging_with_gdb.html')
-rw-r--r--doc/debugging_with_gdb.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html
index b893f931a..3d2e4af07 100644
--- a/doc/debugging_with_gdb.html
+++ b/doc/debugging_with_gdb.html
@@ -19,8 +19,8 @@ use to inspect a live process or a core dump.
</p>
<p>
-Pass the <code>'-s'</code> flag to the linker to omit the debug information
-(for example, <code>go build -ldflags "-s" prog.go</code>).
+Pass the <code>'-w'</code> flag to the linker to omit the debug information
+(for example, <code>go build -ldflags "-w" prog.go</code>).
</p>
<p>