mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 18:57:18 +08:00 
			
		
		
		
	fix some comments
Signed-off-by: cui fliter <imcusg@gmail.com>
This commit is contained in:
		 cui fliter
					cui fliter
				
			
				
					committed by
					
						 Alessandro Arzilli
						Alessandro Arzilli
					
				
			
			
				
	
			
			
			 Alessandro Arzilli
						Alessandro Arzilli
					
				
			
						parent
						
							a61ccea65a
						
					
				
				
					commit
					e24a7b1174
				
			| @ -2,6 +2,7 @@ package proc | |||||||
|  |  | ||||||
| import ( | import ( | ||||||
| 	"errors" | 	"errors" | ||||||
|  |  | ||||||
| 	"github.com/go-delve/delve/pkg/dwarf/op" | 	"github.com/go-delve/delve/pkg/dwarf/op" | ||||||
| ) | ) | ||||||
|  |  | ||||||
| @ -17,7 +18,7 @@ type Thread interface { | |||||||
| 	// variable returned may or may not change to reflect the new CPU status | 	// variable returned may or may not change to reflect the new CPU status | ||||||
| 	// when the thread is resumed or the registers are changed by calling | 	// when the thread is resumed or the registers are changed by calling | ||||||
| 	// SetPC/SetSP/etc. | 	// SetPC/SetSP/etc. | ||||||
| 	// To insure that the the returned variable won't change call the Copy | 	// To insure that the returned variable won't change call the Copy | ||||||
| 	// method of Registers. | 	// method of Registers. | ||||||
| 	Registers() (Registers, error) | 	Registers() (Registers, error) | ||||||
|  |  | ||||||
|  | |||||||
| @ -1839,7 +1839,7 @@ func (v *Variable) writeZero() error { | |||||||
| 	return err | 	return err | ||||||
| } | } | ||||||
|  |  | ||||||
| // writeInterface writes the empty interface of type typeAddr and data as the data field. | // writeEmptyInterface writes the empty interface of type typeAddr and data as the data field. | ||||||
| func (v *Variable) writeEmptyInterface(typeAddr uint64, data *Variable) error { | func (v *Variable) writeEmptyInterface(typeAddr uint64, data *Variable) error { | ||||||
| 	dstType, dstData, _ := v.readInterface() | 	dstType, dstData, _ := v.readInterface() | ||||||
| 	if v.Unreadable != nil { | 	if v.Unreadable != nil { | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user