runtime: copy rdebug code from Go 1.7 runtime
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 17 Oct 2016 16:54:25 +0000 (16:54 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 17 Oct 2016 16:54:25 +0000 (16:54 +0000)
commit8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360
tree99f8a824655109bd2cd36ab0a8502e2fd713101a
parent31a84d4a65c9e820fa6f928f8a031f6dfe213c85
runtime: copy rdebug code from Go 1.7 runtime

    While we're at it, update the runtime/debug package, and start running
    its testsuite by default.  I'm not sure why runtime/debug was not
    previously updated to 1.7.  Doing that led me to fix some minor aspects
    of runtime.Stack and the C function runtime/debug.readGCStats.

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

From-SVN: r241261
20 files changed:
gcc/go/gofrontend/MERGE
libgo/Makefile.am
libgo/Makefile.in
libgo/go/runtime/debug/garbage.go
libgo/go/runtime/debug/garbage_test.go
libgo/go/runtime/debug/stack_test.go
libgo/go/runtime/debug/stubs.go [new file with mode: 0644]
libgo/go/runtime/mprof.go
libgo/go/runtime/rdebug.go [new file with mode: 0644]
libgo/go/runtime/stubs.go
libgo/go/runtime/traceback_gccgo.go
libgo/runtime/go-signal.c
libgo/runtime/heapdump.c
libgo/runtime/malloc.h
libgo/runtime/mgc0.c
libgo/runtime/panic.c
libgo/runtime/proc.c
libgo/runtime/rdebug.goc [deleted file]
libgo/runtime/runtime.c
libgo/runtime/runtime.h