]> Cypherpunks repositories - gostls13.git/commit
runtime: make runtime-gdb.py tolerant of creatively-named gdb versions
authorDavid Chase <drchase@google.com>
Wed, 3 Jun 2020 18:21:18 +0000 (14:21 -0400)
committerDavid Chase <drchase@google.com>
Wed, 3 Jun 2020 22:07:42 +0000 (22:07 +0000)
commit429d2c548d8fcceff95c29ea5074aab9498fa0c3
tree66201facf725957736430ac11d1165e5cbcfb7cd
parent23dcee64643fef66663272cd123dc7b42dfa67c9
runtime: make runtime-gdb.py tolerant of creatively-named gdb versions

"Fedora" and "Red Hat" are not numbers, it turns out.
Don't rely on version numbers, instead use a regexp to
handle variation across the 2 patterns thus far observed
for gdb-generated Go type names.

Change-Id: I18c81aa2848265a47daf1180d8f6678566ae3f19
Reviewed-on: https://go-review.googlesource.com/c/go/+/236280
Reviewed-by: Austin Clements <austin@google.com>
Run-TryBot: David Chase <drchase@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/runtime-gdb.py