1
0
mirror of https://github.com/golang/go synced 2024-11-11 21:10:21 -07:00

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
This commit is contained in:
Shenghou Ma 2014-04-16 01:19:26 -04:00
parent 6037841dbd
commit c91c564e83

View 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>