diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html index 633d058c11..dc8147806b 100644 --- a/doc/debugging_with_gdb.html +++ b/doc/debugging_with_gdb.html @@ -45,7 +45,7 @@ Pass the '-w' flag to the linker to omit the debug information The code generated by the gc compiler includes inlining of function invocations and registerization of variables. These optimizations can sometimes make debugging with gdb harder. To disable them -when debugging, pass the flags -gcflags "-N -l" to the +when debugging, pass the flags -gcflags=all="-N -l" to the go command used to build the code being debugged.