]> Cypherpunks repositories - gostls13.git/commit
- catch trace traps
authorRob Pike <r@golang.org>
Fri, 12 Sep 2008 16:44:41 +0000 (09:44 -0700)
committerRob Pike <r@golang.org>
Fri, 12 Sep 2008 16:44:41 +0000 (09:44 -0700)
commit6e8dbc2051ab5face6278e4056eefd5aea6c329b
tree93eeb9ec4ccb53ef9685d3f689f7fb97c3654050
parent96b906498abad3eea2d6ea7e401917ec431bef83
- catch trace traps
- disassemble the instructions in a trace trap to see if it's a run-time trap
- if so, print relevant info
- avoid double-printing traceback on panic

R=ken,rsc
DELTA=66  (50 added, 7 deleted, 9 changed)
OCL=15199
CL=15224
src/runtime/rt1_amd64_darwin.c
src/runtime/rt1_amd64_linux.c
src/runtime/rt2_amd64.c
src/runtime/runtime.c
src/runtime/runtime.h
src/runtime/signals.h