runtime: restore "goroutine in C code" message
authorIan Lance Taylor <ian@gcc.gnu.org>
Wed, 20 Sep 2017 00:33:29 +0000 (00:33 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Wed, 20 Sep 2017 00:33:29 +0000 (00:33 +0000)
commit8fca13953b551bb75af0a31d737a297de97676a7
treee54ea762823ee955d7cd3ef3ae2b8bd4e97b5cf9
parent9bd25fc4e2119dd08257f7326c7115c4371f98df
runtime: restore "goroutine in C code" message

    In the 1.9 upgrade I took out the word "goroutine" from a traceback
    showing a goroutine running in C code, to let TestCgoNumGoroutine
    pass.  However, it turns out that some code is actually checking for
    that string; for example,
    https://github.com/grpc/grpc-go/blob/master/test/leakcheck/leakcheck.go#L44
    So keep the message the same, and change the test.

    Reviewed-on: https://go-review.googlesource.com/64850

From-SVN: r252991
gcc/go/gofrontend/MERGE
libgo/go/runtime/testdata/testprogcgo/numgoroutine.go
libgo/go/runtime/traceback_gccgo.go