]> Cypherpunks repositories - gostls13.git/commit
runtime: repair gdb printing fix for 7.12, 8.{1,2,3}.1, 9.2
authorDavid Chase <drchase@google.com>
Tue, 2 Jun 2020 21:53:47 +0000 (17:53 -0400)
committerDavid Chase <drchase@google.com>
Wed, 3 Jun 2020 16:27:49 +0000 (16:27 +0000)
commit3949cae4410aa05bc76ccab598ad63618b10416e
tree712fd8ec2763a4caeb47ea4a23febb4cc27eca4a
parent9e56bcb9fe23bbd75d8896e845a9129251d4fca5
runtime: repair gdb printing fix for 7.12, 8.{1,2,3}.1, 9.2

Hand-verified for listed gdb versions.  Gdb (apparently)
changed the way it names certain Go types, and this change
broke the pretty-printer-activating code in runtime-gdb.py

runtime-gdb_test.go now checks channel, map, string, and slice
printing unconditionally (i.e., no opt-out for old versions).

Updates #39368.

Change-Id: I98d72e1291c66bd40d970990e1a377ff2ed0c5d2
Reviewed-on: https://go-review.googlesource.com/c/go/+/236164
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Than McIntosh <thanm@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/runtime-gdb.py
src/runtime/runtime-gdb_test.go