Skip to content

Commit

Permalink
*: Correct spelling mistakes (#3555)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandear committed Nov 6, 2023
1 parent c727ec5 commit 13d6cd4
Show file tree
Hide file tree
Showing 13 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This project adheres to Semantic Versioning.
- Fix starlark slice unmarshaling (@andreimatei)
- Restore breakpoints set with line offsets on restart (@aarzilli)
- Check recursion level when printing pointers (@aarzilli)
- Fix FrameDescriptionEntrie's append bug removing duplicates (@gocurr)
- Fix FrameDescriptionEntries' append bug removing duplicates (@gocurr)
- Read context from sigtrampgo fixing cgo stack traces on 1.21 (@aarzilli)

### Changed
Expand Down Expand Up @@ -301,7 +301,7 @@ This project adheres to Semantic Versioning.
* DAP: Remote attach support (#2709, @polinasok)
* DAP: Multi-client support (#2731, #2737, #2781, @polinasok)
* DAP: Logpoints support (#2634, #2730, #2747, #2748, @suzmue)
* DAP: Dissasembly view support (#2713, #2716, #2728, #2742, @suzmue)
* DAP: Disassembly view support (#2713, #2716, #2728, #2742, @suzmue)
* DAP: Support dlvCwd and use a temp file as default debug binary (#2660, #2734, @hyangah, @polinasok)
* DAP: Auto-resume execution when setting breakpoints while running (#2726, @suzmue)
* DAP: Add --client-addr flag to run dap with a predefined client (#2568, @hyangah)
Expand Down Expand Up @@ -590,7 +590,7 @@ This project adheres to Semantic Versioning.
### Fixed

- Fixed target program crash after step-instruction (#1738, @aarzilli)
- Fixed miscellaneus bugs related to debugging Position Indepentent Executables and plugins (#1775, @aarzilli)
- Fixed miscellaneus bugs related to debugging Position Independent Executables and plugins (#1775, @aarzilli)
- Always remove breakpoints during detach (#1772, @hengwu0)
- Fixed Delve's exit status after the program has ended (#1781, @derekparker)
- Fixed nil pointer dereference in FunctionReturnLocations (#1789, @aarzilli)
Expand Down Expand Up @@ -735,7 +735,7 @@ This project adheres to Semantic Versioning.
- Fixed crashes when configuration file can not be created (@derekparker, @yuval-k, @aarzilli)
- Fixed reported location of the go statement of goroutines (@derekparker)
- Allow evaluation of constants specified without the full package path (@aarzilli)
- Fixed some integer arithmetics bugs in proc (@functionary)
- Fixed some integer arithmetic bugs in proc (@functionary)
- Respect load configuration after reslicing a map (@aarzilli)
- Fixed race condition between Halt and process death in the linux native backend (@aarzilli)
- Support core files generated by gdb (@psanford)
Expand Down Expand Up @@ -872,7 +872,7 @@ This project adheres to Semantic Versioning.

### Added

- Go 1.8 Compatability (@aarzilli)
- Go 1.8 Compatibility (@aarzilli)
- Add Go 1.8 to test matrix (@derekparker)
- Support NaN/Inf float values (@aarzilli)
- Handle absence of stack barriers in Go 1.9 (@drchase)
Expand Down
2 changes: 1 addition & 1 deletion Documentation/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ The substitute-path feature can be used to solve this problem, see `help config`

The `sources` command could also be useful in troubleshooting this problem, it shows the list of file paths that has been embedded by the compiler into the executable.

For more informations on path substitution see [path substitution](cli/substitutepath.md).
For more information on path substitution see [path substitution](cli/substitutepath.md).

If you still think this is a bug in Delve and not a configuration problem, open an [issue](https://github.com/go-delve/delve/issues), filling the issue template and including the logs produced by delve with the options `--log --log-output=rpc,dap`.

Expand Down
2 changes: 1 addition & 1 deletion cmd/dlv/dlv_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,7 @@ func TestTrace2(t *testing.T) {
func TestTraceMultipleGoroutines(t *testing.T) {
dlvbin := getDlvBin(t)

// TODO(derekparker) this test has to be a bit vague to avoid flakyness.
// TODO(derekparker) this test has to be a bit vague to avoid flakiness.
// I think a future improvement could be to use regexp captures to match the
// goroutine IDs at function entry and exit.
expected := []byte("main.callme(0, \"five\")\n")
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/bininfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2063,7 +2063,7 @@ func (bi *BinaryInfo) findTypeExpr(expr ast.Expr) (godwarf.Type, error) {
}
bi.expandPackagesInType(expr)
if snode, ok := expr.(*ast.StarExpr); ok {
// Pointer types only appear in the dwarf informations when
// Pointer types only appear in the dwarf information when
// a pointer to the type is used in the target program, here
// we create a pointer type on the fly so that the user can
// specify a pointer to any variable used in the target program
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/fncall.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ type functionCallState struct {
// called function panics.
panicvar *Variable
// undoInjection is set after evalop.CallInjectionSetTarget runs and cleared by evalCallInjectionComplete
// it contains informations on how to undo a function call injection without running it
// it contains information on how to undo a function call injection without running it
undoInjection *undoInjection

protocolReg uint64
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/internal/ebpf/bpf/trace.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ int get_goroutine_id(function_parameter_list_t *parsed_args) {

__always_inline
void parse_params(struct pt_regs *ctx, unsigned int n_params, function_parameter_t params[6]) {
// Since we cannot loop in eBPF programs let's take adavantage of the
// Since we cannot loop in eBPF programs let's take advantage of the
// fact that in C switch cases will pass through automatically.
switch (n_params) {
case 6:
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/native/registers_darwin_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func registers(thread *nativeThread) (proc.Registers, error) {
}
kret = C.get_identity(C.mach_port_name_t(thread.os.threadAct), &identity)
if kret != C.KERN_SUCCESS {
return nil, fmt.Errorf("could not get thread identity informations")
return nil, fmt.Errorf("could not get thread identity information")
}
/*
thread_identifier_info::thread_handle contains the base of the
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/proc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5066,7 +5066,7 @@ func TestRefreshCurThreadSelGAfterContinueOnceError(t *testing.T) {
f, l, fn := p.BinInfo().PCToLine(pc)
t.Logf("Second continue did not return an error %s:%d %#v", f, l, fn)
if fn != nil && fn.Name == "runtime.fatalpanic" {
// this is also ok, it just means this debugserver supports --unmask-signals and it's working as intented.
// this is also ok, it just means this debugserver supports --unmask-signals and it's working as intended.
return
}
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/proc/target_exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ func frameoffCondition(frame *Stackframe) ast.Expr {
}

// StepOut resumes the processes in the group, continuing the selected target
// until until the current goroutine exits the function currently being
// until the current goroutine exits the function currently being
// executed or a deferred function is executed
func (grp *TargetGroup) StepOut() error {
backward := grp.GetDirection() == Backward
Expand Down
2 changes: 1 addition & 1 deletion service/api/conversions.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func ConvertLogicalBreakpoint(lbp *proc.LogicalBreakpoint) *Breakpoint {
return b
}

// ConvertPhysicalBreakpoints adds informations from physical breakpoints to an API breakpoint.
// ConvertPhysicalBreakpoints adds information from physical breakpoints to an API breakpoint.
func ConvertPhysicalBreakpoints(b *Breakpoint, lbp *proc.LogicalBreakpoint, pids []int, bps []*proc.Breakpoint) {
if len(bps) == 0 {
if lbp != nil {
Expand Down
4 changes: 2 additions & 2 deletions service/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ type Thread struct {

// Breakpoint this thread is stopped at
Breakpoint *Breakpoint `json:"breakPoint,omitempty"`
// Informations requested by the current breakpoint
// Information requested by the current breakpoint
BreakpointInfo *BreakpointInfo `json:"breakPointInfo,omitempty"`

// ReturnValues contains the return values of the function we just stepped out of
Expand Down Expand Up @@ -422,7 +422,7 @@ type DebuggerCommand struct {
UnsafeCall bool `json:"unsafeCall,omitempty"`
}

// BreakpointInfo contains informations about the current breakpoint
// BreakpointInfo contains information about the current breakpoint
type BreakpointInfo struct {
Stacktrace []Stackframe `json:"stacktrace,omitempty"`
Goroutine *Goroutine `json:"goroutine,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion service/dap/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3530,7 +3530,7 @@ func TestConcurrentBreakpointsLogPoints(t *testing.T) {
client.ExpectConfigurationDoneResponse(t)

// There may be up to 1 breakpoint and any number of log points that are
// hit concurrently. We should get a stopped event everytime the breakpoint
// hit concurrently. We should get a stopped event every time the breakpoint
// is hit and an output event for each log point hit.
var oeCount, seCount int
for oeCount < 10 || seCount < 10 {
Expand Down
2 changes: 1 addition & 1 deletion service/dap/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ type LaunchConfig struct {
// It should be a string like `dlv --build-flags`, or
// an array of strings that is augmented when invoking the go build or
// test command through os/exec.Command API.
// For example, both forms are acceptible.
// For example, both forms are acceptable.
// "buildFlags": "-tags=integration -ldflags='-X main.Hello=World'"
// or
// "buildFlags": ["-tags=integration", "-ldflags=-X main.Hello=World"]
Expand Down

0 comments on commit 13d6cd4

Please sign in to comment.