diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-17 16:54:25 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2016-10-17 16:54:25 +0000 |
commit | 8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360 (patch) | |
tree | 99f8a824655109bd2cd36ab0a8502e2fd713101a /libgo/runtime/go-signal.c | |
parent | 31a84d4a65c9e820fa6f928f8a031f6dfe213c85 (diff) | |
download | gcc-8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360.zip gcc-8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360.tar.gz gcc-8cce07d1ddccd9ffcdcaafaaa4cf13ffa95ec360.tar.bz2 |
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
Diffstat (limited to 'libgo/runtime/go-signal.c')
-rw-r--r-- | libgo/runtime/go-signal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/runtime/go-signal.c b/libgo/runtime/go-signal.c index 99829eb..e3e4a19 100644 --- a/libgo/runtime/go-signal.c +++ b/libgo/runtime/go-signal.c @@ -222,7 +222,7 @@ runtime_sighandler (int sig, Siginfo *info, G *g; g = runtime_g (); - runtime_traceback (); + runtime_traceback (0); runtime_tracebackothers (g); /* The gc library calls runtime_dumpregs here, and provides |