diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html
index f3b4e37a28..a6b0054d4f 100644
--- a/doc/debugging_with_gdb.html
+++ b/doc/debugging_with_gdb.html
@@ -180,6 +180,15 @@ from it.
that needs to be quoted. It objects even more strongly to method names of
the form pkg.(*MyType).Meth.
"main".go
+build -ldflags=-compressdwarf=false.
+(For convenience you can put the -ldflags option in
+the GOFLAGS
+environment variable so that you don't have to specify it each time.)
+