]> Cypherpunks repositories - gostls13.git/commit
runtime: fix runtime-gdb script loading
authorPaul Nasrat <pnasrat@google.com>
Wed, 14 Jan 2015 19:32:01 +0000 (14:32 -0500)
committerIan Lance Taylor <iant@golang.org>
Thu, 15 Jan 2015 05:20:19 +0000 (05:20 +0000)
commita25af2e99e21fe9011d4057cfab1e0cb0ffb3cdb
tree06e5bbc0aac9be5f79c09c2c627bd2dcfd8e56ce
parent7785be8f2227df881e7ab3a4e81a2fc69a165cf8
runtime: fix runtime-gdb script loading

runtime.rtype was a copy of reflect.rtype - update script to use that directly.
Introduces a basic test which will skip on systems without appropriate GDB.

Fixes #9326

Change-Id: I6ec74e947bd2e1295492ca34b3a8c1b49315a8cb
Reviewed-on: https://go-review.googlesource.com/2821
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/runtime/runtime-gdb.py
src/runtime/runtime-gdb_test.go [new file with mode: 0644]