From edef379fff39095b2aeeab0e51112a77678b0f73 Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Wed, 16 Apr 2014 01:19:26 -0400 Subject: 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 --- doc/debugging_with_gdb.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/debugging_with_gdb.html') 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.

-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).

-- cgit v1.2.1