Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

all: fix typos in CHANGELOG, comments and package name #3757

Merged
merged 1 commit into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ This project adheres to Semantic Versioning.
### 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)
- 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

Expand Down Expand Up @@ -207,7 +207,7 @@ This project adheres to Semantic Versioning.
- Add support for empty string in substitutePath (@RuijieC-dev)
- Support gnu_debuglink section (@aarzilli)
- 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)

### Fixed
Expand All @@ -218,7 +218,7 @@ This project adheres to Semantic Versioning.
- Do not panic reading bad G struct (@aarzilli)
- Fix parsing DWARFv5 file table (@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 handling of function entry / return in ebpf tracing backend (@derekparker)
- Fix size of ebpf type for fn_addr (@derekparker)
Expand Down Expand Up @@ -389,7 +389,7 @@ This project adheres to Semantic Versioning.
### Fixed

* 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)
* DAP: Halt before detach in Stop (@polinasok)
* DAP: Do not send halt request if debuggee is not running (@suzmue)
Expand Down
2 changes: 1 addition & 1 deletion _fixtures/issue2896.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ type Vehicle interface {
Run()
}

// BMWS1000RR defines the motocycle bmw s1000rr
// BMWS1000RR defines the motorcycle bmw s1000rr
type BMWS1000RR struct {
}

Expand Down
4 changes: 2 additions & 2 deletions pkg/proc/bininfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@ type Function struct {
// InlinedCalls lists all inlined calls to this function
InlinedCalls []InlinedCall
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.
extraCache *functionExtra
}
Expand Down Expand Up @@ -687,7 +687,7 @@ func (fn *Function) rangeParentName() string {
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.
func (fn *Function) extra(bi *BinaryInfo) *functionExtra {
if fn.extraCache != nil {
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/native/support_sentinel_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

// 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
2 changes: 1 addition & 1 deletion pkg/terminal/command_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ func TestPrintContextParkedGoroutine(t *testing.T) {
frameout := strings.Split(term.MustExec("frame 0"), "\n")
t.Logf("frame 0 -> %q", frameout)
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")
Expand Down
4 changes: 2 additions & 2 deletions service/dap/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2286,7 +2286,7 @@ func TestVariablesLoading(t *testing.T) {
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)
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)
tmV := client.ExpectVariablesResponse(t)
checkChildren(t, tmV, "tm.v", 1)
Expand Down Expand Up @@ -2315,7 +2315,7 @@ func TestVariablesLoading(t *testing.T) {
checkChildren(t, tm, "tm", 1)
ref = checkVarExact(t, tm, 0, "v", "", "[]map[string]main.astruct len: 1, cap: 1, [[...]]", "[]map[string]main.astruct", hasChildren)
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)
tmV := client.ExpectVariablesResponse(t)
checkChildren(t, tmV, "tm.v", 1)
Expand Down
2 changes: 1 addition & 1 deletion service/rpccallback.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ type RPCCallback interface {
// receive other requests.
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.
DisconnectChan() chan struct{}
}