- Notifications
You must be signed in to change notification settings - Fork18.4k
Commit0d2f5c0
committed
[release-branch.go1.2] runtime: if traceback sees a breakpoint, don't change the PC
««« CL 49580044 / 38cd458b1dferuntime: if traceback sees a breakpoint, don't change the PCChanging the PC confuses gdb, because execution does notcontinue where gdb expects it. Not changing the PC has thepotential to confuse a stack dump, but when running under gdbit seems better to confuse a stack dump than to confuse gdb.Fixes#6776.LGTM=rscR=golang-codereviews, dvyukov, rscCC=golang-codereviewshttps://golang.org/cl/49580044»»»LGTM=rR=golang-codereviews, rCC=golang-devhttps://golang.org/cl/698000431 parent495b914 commit0d2f5c0
1 file changed
+13
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
40 | 53 |
| |
41 | 54 |
| |
42 | 55 |
|
0 commit comments
Comments
(0)