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:
parent
6037841dbd
commit
c91c564e83
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user