]> Cypherpunks repositories - gostls13.git/commit
runtime: fix runtime gdb test with gdb v8.2
authorShulhan <m.shulhan@gmail.com>
Wed, 12 Sep 2018 18:46:39 +0000 (01:46 +0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 1 Oct 2018 19:21:42 +0000 (19:21 +0000)
commita9c69e0a657cbbdd4df3a77bd202b7f03a104094
treed2f7d5a4ab0fae5ad940a566a257c9085955803e
parentb57ccdf992b46b15c33cf4672de4a7911d667617
runtime: fix runtime gdb test with gdb v8.2

Previously, some of output from gdb matched with literal string, while
gdb v8.2 print the address of variable (e.g. map key and value) in
output.

This commit fix the regex in testing the output.

Fixes #27608

Change-Id: Ic3fe8280b9f93fda2799116804822616caa66beb
Reviewed-on: https://go-review.googlesource.com/135055
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: David Chase <drchase@google.com>
src/runtime/runtime-gdb_test.go