diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2014-04-16 01:19:26 -0400 |
---|---|---|
committer | Shenghou Ma <minux.ma@gmail.com> | 2014-04-16 01:19:26 -0400 |
commit | edef379fff39095b2aeeab0e51112a77678b0f73 (patch) | |
tree | d4f8dc74f36e280be9092b98c634f8221aab21a9 /doc/debugging_with_gdb.html | |
parent | db0d4bb96f62625aa064c7ecf3070dfe8653b7a2 (diff) | |
download | go-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.html | 4 |
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> |