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