commit | b05b4260a68695bf9c9cc29e14ae86ca2699458a | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Wed Apr 19 16:00:28 2017 -0700 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Apr 20 23:39:21 2017 +0000 |
tree | 70daee7badf177deb8ba4629671e0ba6f207a875 | |
parent | 5b362b04f642afb8b20715930416fc3b7d91bb12 [diff] |
runtime: restore correct m in gtraceback If gtraceback is used to get a stack trace of a g running in the same m, as can happen if we collect a stack trace from a g0, then restore the old m value, don't clear it. Change-Id: I950a3c182d0b79dd84204c59530c57edb1e100e1 Reviewed-on: https://go-review.googlesource.com/41138 Reviewed-by: Than McIntosh <thanm@google.com>