mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 12:05:21 +08:00
gdbserial: propagate unhandled signals back to a specific thread (#1749)
Instead of just sending unhandled signals back to the process send them to the specific thread that received them. This is important because: 1. debugserver does not appear to support the vCont;CXX packet without specifying a target thread 2. the non-cooperative preemption change in an upcoming version of Go (1.15?) will require sending signals to a specific thread. Fixes #1744
This commit is contained in:
committed by
Derek Parker
parent
e8d4ed7ece
commit
79143468ea
@ -4,7 +4,6 @@ package proc_test
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"runtime"
|
||||
"syscall"
|
||||
"testing"
|
||||
"time"
|
||||
@ -23,10 +22,6 @@ func (npe errIssue419) Error() string {
|
||||
}
|
||||
|
||||
func TestIssue419(t *testing.T) {
|
||||
if testBackend == "lldb" && runtime.GOOS == "darwin" {
|
||||
// debugserver bug?
|
||||
return
|
||||
}
|
||||
if testBackend == "rr" {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user