• Russ Cox's avatar
    runtime: omit breakpoint during terminal panic · 59ce067d
    Russ Cox authored
    A terminal panic (one that prints a stack trace and exits)
    has been calling runtime.breakpoint before calling exit,
    so that if running under a debugger, the debugger can
    take control.  When not running under a debugger, though,
    this causes an additional SIGTRAP on Unix and pop-up
    dialogs on Windows.
    
    Support for debugging Go programs has gotten good
    enough that we can rely on the debugger to set its own
    breakpoint on runtime.exit if it wants to look around.
    
    R=r, r2
    CC=golang-dev
    https://golang.org/cl/4222043
    59ce067d
Name
Last commit
Last update
..
defs.h Loading commit data...
rt0.s Loading commit data...
signal.c Loading commit data...
sys.s Loading commit data...