]> Cypherpunks repositories - gostls13.git/commit
gdb: fix map prettyprinter
authorJan Kratochvil <jan.kratochvil@redhat.com>
Sat, 21 Feb 2015 17:18:33 +0000 (18:18 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 25 Feb 2015 02:36:41 +0000 (02:36 +0000)
commit1c82e236f5eed548ffc889ea4d7035a6ddc7b25c
tree24940e1b7210f7c563209f8c98a74d53b486d15a
parent9f926e81c262f11e2980a25f06ac17f3bbeb378a
gdb: fix map prettyprinter

(gdb) p x
Python Exception <class 'gdb.error'> There is no member named b.:
$2 = map[string]string
->
(gdb) p x
$1 = map[string]string = {["shane"] = "hansen"}

Change-Id: I874d02a029f2ac9afc5ab666afb65760ec2c3177
Reviewed-on: https://go-review.googlesource.com/5522
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/runtime-gdb.py
src/runtime/runtime-gdb_test.go