From: Shenghou Ma Date: Wed, 16 Apr 2014 05:19:26 +0000 (-0400) Subject: doc/debugging_with_gdb: use -w to strip debug info. X-Git-Tag: go1.3beta1~59 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=c91c564e8396399fce5400c176298eff0b92b8b2;p=gostls13.git doc/debugging_with_gdb: use -w to strip debug info. Don't advertise -s anymore. Fixes #7793. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/88030045 --- diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html index b893f931a3..3d2e4af07c 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.

-Pass the '-s' flag to the linker to omit the debug information -(for example, go build -ldflags "-s" prog.go). +Pass the '-w' flag to the linker to omit the debug information +(for example, go build -ldflags "-w" prog.go).