Skip to content

Commit

Permalink
proc/gdbserial: ContinueOnce returns StopUnknown, not StopExited on n…
Browse files Browse the repository at this point in the history
…on-exited error (#2577)

Co-authored-by: Polina Sokolova <[email protected]>
  • Loading branch information
polinasok and polinasok authored Jul 12, 2021
1 parent 1399f20 commit 569b772
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/proc/gdbserial/gdbserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 569b772

Please sign in to comment.