]> Cypherpunks repositories - gostls13.git/commitdiff
runtime: omit breakpoint during terminal panic
authorRuss Cox <rsc@golang.org>
Fri, 25 Feb 2011 20:17:34 +0000 (15:17 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 25 Feb 2011 20:17:34 +0000 (15:17 -0500)
again.
CL 4222043 missed this case.

R=brainman, r, r2
CC=golang-dev
https://golang.org/cl/4235043

src/pkg/runtime/runtime.c

index e85bc9daa8793bbdc43f1399d31b27a88ad5e696..1a3653f108c457dbac460f1f88339e92fbd3ab3f 100644 (file)
@@ -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);
 }