]> Cypherpunks repositories - gostls13.git/commitdiff
doc/debugging_with_gdb: use -w to strip debug info.
authorShenghou Ma <minux.ma@gmail.com>
Wed, 16 Apr 2014 05:19:26 +0000 (01:19 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 16 Apr 2014 05:19:26 +0000 (01:19 -0400)
Don't advertise -s anymore.
Fixes #7793.

LGTM=iant
R=golang-codereviews, iant
CC=golang-codereviews
https://golang.org/cl/88030045

doc/debugging_with_gdb.html

index b893f931a30208b623859b7f4e1017a38240db2d..3d2e4af07c6df8b5648544ae8c508cd0965b5cee 100644 (file)
@@ -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>