mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-30 10:17:03 +08:00 
			
		
		
		
	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:
		| @ -816,8 +816,9 @@ continueLoop: | |||||||
| 		if err != nil { | 		if err != nil { | ||||||
| 			if _, exited := err.(proc.ErrProcessExited); exited { | 			if _, exited := err.(proc.ErrProcessExited); exited { | ||||||
| 				p.exited = true | 				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 | 		// For stubs that support qThreadStopInfo updateThreadList will | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 polinasok
					polinasok