mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 02:36:18 +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,9 +816,10 @@ 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 | ||||||
| 		// find out the reason why each thread stopped. | 		// find out the reason why each thread stopped. | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 polinasok
					polinasok