From eac99c44667a748f8b00f38c5f44beb41e1b4503 Mon Sep 17 00:00:00 2001 From: Alessandro Arzilli Date: Fri, 28 Sep 2018 16:01:45 +0200 Subject: [PATCH] doc: remove "known bug" about global variables in debug_info. This hasn't been true at least since 1.4. Until golang.org/cl/137235 they were lumped together into a random compile unit, now they are assigned to the correct one. Change-Id: Ib66539bd67af3e9daeecac8bf5f32c10e62e11b1 Reviewed-on: https://go-review.googlesource.com/138415 Reviewed-by: Than McIntosh Reviewed-by: David Chase --- doc/debugging_with_gdb.html | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/debugging_with_gdb.html b/doc/debugging_with_gdb.html index a6b0054d4f..fd2c831925 100644 --- a/doc/debugging_with_gdb.html +++ b/doc/debugging_with_gdb.html @@ -179,7 +179,6 @@ from it. "fmt.Print" as an unstructured literal with a "." that needs to be quoted. It objects even more strongly to method names of the form pkg.(*MyType).Meth. -
  • All global variables are lumped into package "main".
  • As of Go 1.11, debug information is compressed by default. Older versions of gdb, such as the one available by default on MacOS, do not understand the compression.