mirror of
https://github.com/go-delve/delve.git
synced 2025-10-27 12:05:21 +08:00
pkg/proc: Introduce Target and remove CommonProcess (#1834)
* pkg/proc: Introduce Target * pkg/proc: Remove Common.fncallEnabled Realistically we only block it on recorded backends. * pkg/proc: Move fncallForG to Target * pkg/proc: Remove CommonProcess Remove final bit of functionality stored in CommonProcess and move it to *Target. * pkg/proc: Add SupportsFunctionCall to Target
This commit is contained in:
@ -29,7 +29,7 @@ func TestIssue419(t *testing.T) {
|
||||
errChan := make(chan error, 2)
|
||||
|
||||
// SIGINT directed at the inferior should be passed along not swallowed by delve
|
||||
withTestProcess("issue419", t, func(p proc.Process, fixture protest.Fixture) {
|
||||
withTestProcess("issue419", t, func(p *proc.Target, fixture protest.Fixture) {
|
||||
defer close(errChan)
|
||||
setFunctionBreakpoint(p, t, "main.main")
|
||||
assertNoError(proc.Continue(p), t, "Continue()")
|
||||
|
||||
Reference in New Issue
Block a user