proc/gdbserial: ContinueOnce returns StopUnknown, not StopExited on non-exited error (#2577)
Co-authored-by: Polina Sokolova <polinasok@users.noreply.github.com>
This commit is contained in:
parent
1399f20585
commit
569b772b82
@ -816,8 +816,9 @@ continueLoop:
|
||||
if err != nil {
|
||||
if _, exited := err.(proc.ErrProcessExited); exited {
|
||||
p.exited = true
|
||||
return nil, proc.StopExited, err
|
||||
}
|
||||
return nil, proc.StopExited, err
|
||||
return nil, proc.StopUnknown, err
|
||||
}
|
||||
|
||||
// For stubs that support qThreadStopInfo updateThreadList will
|
||||
|
||||
Loading…
Reference in New Issue
Block a user