mirror of
				https://github.com/go-delve/delve.git
				synced 2025-10-31 10:47:27 +08:00 
			
		
		
		
	all: fix typos in docs, comments and package name (#3757)
This commit is contained in:
		| @ -46,7 +46,7 @@ This project adheres to Semantic Versioning. | |||||||
| ### Changed | ### Changed | ||||||
|  |  | ||||||
| - Type casts from slice to string and vice versa will now use the load configuration for the target type, which is more intuitive (#3596, @aarzilli) | - Type casts from slice to string and vice versa will now use the load configuration for the target type, which is more intuitive (#3596, @aarzilli) | ||||||
| - Miscellaneous impreovements to documentation (#3531, #3555, #3556, #3562, #3564, #3575, #3576, @alexandear, @testwill) | - Miscellaneous improvements to documentation (#3531, #3555, #3556, #3562, #3564, #3575, #3576, @alexandear, @testwill) | ||||||
|  |  | ||||||
| ## [1.21.2] 2023-10-30 | ## [1.21.2] 2023-10-30 | ||||||
|  |  | ||||||
| @ -207,7 +207,7 @@ This project adheres to Semantic Versioning. | |||||||
| - Add support for empty string in substitutePath (@RuijieC-dev) | - Add support for empty string in substitutePath (@RuijieC-dev) | ||||||
| - Support gnu_debuglink section (@aarzilli) | - Support gnu_debuglink section (@aarzilli) | ||||||
| - Support exact matches in SubstitutePath (@eandre) | - Support exact matches in SubstitutePath (@eandre) | ||||||
| - Add ability to show disassembly instead of source code (@aazilli) | - Add ability to show disassembly instead of source code (@aarzilli) | ||||||
| - Add -per-g-hitcount to breakpoint conditions (@yangxikun) | - Add -per-g-hitcount to breakpoint conditions (@yangxikun) | ||||||
|  |  | ||||||
| ### Fixed | ### Fixed | ||||||
| @ -218,7 +218,7 @@ This project adheres to Semantic Versioning. | |||||||
| - Do not panic reading bad G struct (@aarzilli) | - Do not panic reading bad G struct (@aarzilli) | ||||||
| - Fix parsing DWARFv5 file table (@derekparker) | - Fix parsing DWARFv5 file table (@derekparker) | ||||||
| - Improve trace subcommand output (@derekparker) | - Improve trace subcommand output (@derekparker) | ||||||
| - Fix documentation for examinemem (@aaarzilli) | - Fix documentation for examinemem (@aarzilli) | ||||||
| - Fix step instruction on 1 byte instruction with software breakpoint (@qmuntal) | - Fix step instruction on 1 byte instruction with software breakpoint (@qmuntal) | ||||||
| - Fix handling of function entry / return in ebpf tracing backend (@derekparker) | - Fix handling of function entry / return in ebpf tracing backend (@derekparker) | ||||||
| - Fix size of ebpf type for fn_addr (@derekparker) | - Fix size of ebpf type for fn_addr (@derekparker) | ||||||
| @ -389,7 +389,7 @@ This project adheres to Semantic Versioning. | |||||||
| ### Fixed | ### Fixed | ||||||
|  |  | ||||||
| * Correctly check for 1.17 and regabi (@aarzilli) | * Correctly check for 1.17 and regabi (@aarzilli) | ||||||
| * Print config output strings quouted (@aarzilli, @krobelus) | * Print config output strings quoted (@aarzilli, @krobelus) | ||||||
| * Update check for system goroutines (@suzmue) | * Update check for system goroutines (@suzmue) | ||||||
| * DAP: Halt before detach in Stop (@polinasok) | * DAP: Halt before detach in Stop (@polinasok) | ||||||
| * DAP: Do not send halt request if debuggee is not running (@suzmue) | * DAP: Do not send halt request if debuggee is not running (@suzmue) | ||||||
|  | |||||||
| @ -6,7 +6,7 @@ type Vehicle interface { | |||||||
| 	Run() | 	Run() | ||||||
| } | } | ||||||
|  |  | ||||||
| // BMWS1000RR defines the motocycle bmw s1000rr | // BMWS1000RR defines the motorcycle bmw s1000rr | ||||||
| type BMWS1000RR struct { | type BMWS1000RR struct { | ||||||
| } | } | ||||||
|  |  | ||||||
|  | |||||||
| @ -503,7 +503,7 @@ type Function struct { | |||||||
| 	// InlinedCalls lists all inlined calls to this function | 	// InlinedCalls lists all inlined calls to this function | ||||||
| 	InlinedCalls         []InlinedCall | 	InlinedCalls         []InlinedCall | ||||||
| 	rangeParentNameCache int // see rangeParentName | 	rangeParentNameCache int // see rangeParentName | ||||||
| 	// extraCache contains informations about this function that is only needed for | 	// extraCache contains information about this function that is only needed for | ||||||
| 	// some operations and is expensive to compute or store for every function. | 	// some operations and is expensive to compute or store for every function. | ||||||
| 	extraCache *functionExtra | 	extraCache *functionExtra | ||||||
| } | } | ||||||
| @ -687,7 +687,7 @@ func (fn *Function) rangeParentName() string { | |||||||
| 	return fn.Name[:fn.rangeParentNameCache] | 	return fn.Name[:fn.rangeParentNameCache] | ||||||
| } | } | ||||||
|  |  | ||||||
| // extra loads informations about fn that is expensive to compute and we | // extra loads information about fn that is expensive to compute and we | ||||||
| // only need for a minority of the functions. | // only need for a minority of the functions. | ||||||
| func (fn *Function) extra(bi *BinaryInfo) *functionExtra { | func (fn *Function) extra(bi *BinaryInfo) *functionExtra { | ||||||
| 	if fn.extraCache != nil { | 	if fn.extraCache != nil { | ||||||
|  | |||||||
| @ -2,4 +2,4 @@ | |||||||
|  |  | ||||||
| // This file is used to detect build on unsupported GOOS/GOARCH combinations. | // This file is used to detect build on unsupported GOOS/GOARCH combinations. | ||||||
|  |  | ||||||
| package your_darwin_architectur_is_not_supported_by_delve | package your_darwin_architecture_is_not_supported_by_delve | ||||||
|  | |||||||
| @ -901,7 +901,7 @@ func TestPrintContextParkedGoroutine(t *testing.T) { | |||||||
| 		frameout := strings.Split(term.MustExec("frame 0"), "\n") | 		frameout := strings.Split(term.MustExec("frame 0"), "\n") | ||||||
| 		t.Logf("frame 0 -> %q", frameout) | 		t.Logf("frame 0 -> %q", frameout) | ||||||
| 		if strings.Contains(frameout[0], "stacktraceme") { | 		if strings.Contains(frameout[0], "stacktraceme") { | ||||||
| 			t.Fatal("bad output for `frame 0` command on a parked goorutine") | 			t.Fatal("bad output for `frame 0` command on a parked goroutine") | ||||||
| 		} | 		} | ||||||
|  |  | ||||||
| 		listout := strings.Split(term.MustExec("list"), "\n") | 		listout := strings.Split(term.MustExec("list"), "\n") | ||||||
|  | |||||||
| @ -2286,7 +2286,7 @@ func TestVariablesLoading(t *testing.T) { | |||||||
| 						checkChildren(t, tm, "tm", 1) | 						checkChildren(t, tm, "tm", 1) | ||||||
| 						ref = checkVarExact(t, tm, 0, "v", "tm.v", "[]map[string]main.astruct len: 1, cap: 1, [[...]]", "[]map[string]main.astruct", hasChildren) | 						ref = checkVarExact(t, tm, 0, "v", "tm.v", "[]map[string]main.astruct len: 1, cap: 1, [[...]]", "[]map[string]main.astruct", hasChildren) | ||||||
| 						if ref > 0 { | 						if ref > 0 { | ||||||
| 							// Auto-loading of fully missing map chidlren happens here, but they get truncated at MaxArrayValues | 							// Auto-loading of fully missing map children happens here, but they get truncated at MaxArrayValues | ||||||
| 							client.VariablesRequest(ref) | 							client.VariablesRequest(ref) | ||||||
| 							tmV := client.ExpectVariablesResponse(t) | 							tmV := client.ExpectVariablesResponse(t) | ||||||
| 							checkChildren(t, tmV, "tm.v", 1) | 							checkChildren(t, tmV, "tm.v", 1) | ||||||
| @ -2315,7 +2315,7 @@ func TestVariablesLoading(t *testing.T) { | |||||||
| 							checkChildren(t, tm, "tm", 1) | 							checkChildren(t, tm, "tm", 1) | ||||||
| 							ref = checkVarExact(t, tm, 0, "v", "", "[]map[string]main.astruct len: 1, cap: 1, [[...]]", "[]map[string]main.astruct", hasChildren) | 							ref = checkVarExact(t, tm, 0, "v", "", "[]map[string]main.astruct len: 1, cap: 1, [[...]]", "[]map[string]main.astruct", hasChildren) | ||||||
| 							if ref > 0 { | 							if ref > 0 { | ||||||
| 								// Auto-loading of fully missing map chidlren happens here, but they get trancated at MaxArrayValues | 								// Auto-loading of fully missing map children happens here, but they get truncated at MaxArrayValues | ||||||
| 								client.VariablesRequest(ref) | 								client.VariablesRequest(ref) | ||||||
| 								tmV := client.ExpectVariablesResponse(t) | 								tmV := client.ExpectVariablesResponse(t) | ||||||
| 								checkChildren(t, tmV, "tm.v", 1) | 								checkChildren(t, tmV, "tm.v", 1) | ||||||
|  | |||||||
| @ -9,7 +9,7 @@ type RPCCallback interface { | |||||||
| 	// receive other requests. | 	// receive other requests. | ||||||
| 	SetupDoneChan() chan struct{} | 	SetupDoneChan() chan struct{} | ||||||
|  |  | ||||||
| 	// DisconnectChan returns a channel that should be clised to signal that | 	// DisconnectChan returns a channel that should be closed to signal that | ||||||
| 	// the client that initially issued the command has been disconnected. | 	// the client that initially issued the command has been disconnected. | ||||||
| 	DisconnectChan() chan struct{} | 	DisconnectChan() chan struct{} | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Oleksandr Redko
					Oleksandr Redko