mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 02:36:18 +08:00 
			
		
		
		
	 Alessandro Arzilli
					Alessandro Arzilli
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							65d5eb7380
						
					
				
				
					commit
					3de29a88f8
				
			| @ -896,11 +896,15 @@ func (v *Variable) parseG() (*G, error) { | ||||
| 	} | ||||
| 	var stackhi, stacklo uint64 | ||||
| 	if stackVar := v.loadFieldNamed("stack"); /* +rtype stack */ stackVar != nil { | ||||
| 		if stackhiVar := stackVar.fieldVariable("hi"); /* +rtype uintptr */ stackhiVar != nil { | ||||
| 		if stackhiVar := stackVar.fieldVariable("hi"); /* +rtype uintptr */ stackhiVar != nil && stackhiVar.Value != nil { | ||||
| 			stackhi, _ = constant.Uint64Val(stackhiVar.Value) | ||||
| 		} else { | ||||
| 			unreadable = true | ||||
| 		} | ||||
| 		if stackloVar := stackVar.fieldVariable("lo"); /* +rtype uintptr */ stackloVar != nil { | ||||
| 		if stackloVar := stackVar.fieldVariable("lo"); /* +rtype uintptr */ stackloVar != nil && stackloVar.Value != nil { | ||||
| 			stacklo, _ = constant.Uint64Val(stackloVar.Value) | ||||
| 		} else { | ||||
| 			unreadable = true | ||||
| 		} | ||||
| 	} | ||||
|  | ||||
|  | ||||
		Reference in New Issue
	
	Block a user