proc: Continue should always work after CallFunction

Continue did not resume execution after a call to CallFunction if the
point where the process was stopped, before the call CallFunction, was
a breakpoint.

Fixes #1374
This commit is contained in:
aarzilli
2018-10-16 10:15:31 +02:00
committed by Derek Parker
parent d7ea38b89a
commit f72c48c034
3 changed files with 30 additions and 1 deletions

View File

@ -281,7 +281,7 @@ func stepInstructionOut(dbp Process, curthread Thread, fnname1, fnname2 string)
if g := dbp.SelectedGoroutine(); g != nil {
g.CurrentLoc = *loc
}
return nil
return curthread.SetCurrentBreakpoint()
}
}
}