aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2011-02-25 15:17:34 -0500
committerRuss Cox <rsc@golang.org>2011-02-25 15:17:34 -0500
commitd1cd8294051a09dcb8f78f72178d1085d04ddc65 (patch)
tree580d901822a52978f7ef3e2c65eb1145c0a909d0 /src/pkg/runtime
parentc833d2fd941c12a2f48fe10837584fe751353b1e (diff)
downloadgo-d1cd8294051a09dcb8f78f72178d1085d04ddc65.tar.xz
runtime: omit breakpoint during terminal panic
again. CL 4222043 missed this case. R=brainman, r, r2 CC=golang-dev https://golang.org/cl/4235043
Diffstat (limited to 'src/pkg/runtime')
-rw-r--r--src/pkg/runtime/runtime.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c
index e85bc9daa8..1a3653f108 100644
--- a/src/pkg/runtime/runtime.c
+++ b/src/pkg/runtime/runtime.c
@@ -64,8 +64,6 @@ runtime·dopanic(int32 unused)
runtime·lock(&deadlock);
}
- runtime·panicking = 1; // so we don't dump another stack trace for breakpoint trap
- runtime·breakpoint(); // so we can grab it in a debugger
runtime·exit(2);
}