Description[release-branch.go1.2] runtime: if traceback sees a breakpoint, don't change the PC
««« CL 49580044 / 38cd458b1dfe
runtime: if traceback sees a breakpoint, don't change the PC
Changing the PC confuses gdb, because execution does not
continue where gdb expects it. Not changing the PC has the
potential to confuse a stack dump, but when running under gdb
it seems better to confuse a stack dump than to confuse gdb.
Fixes issue 6776.
LGTM=rsc
R=golang-codereviews, dvyukov, rsc
CC=golang-codereviews
https://codereview.appspot.com/49580044
»»»
Patch Set 1 #Patch Set 2 : diff -r 87dea3f5ebe7 https://code.google.com/p/go #Patch Set 3 : diff -r a3bd976f67c6 https://code.google.com/p/go #MessagesTotal messages: 7
|