Skip to content

Commit

Permalink
fix: Debugger code for non-supported platforms
Browse files Browse the repository at this point in the history
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
  • Loading branch information
stv0g committed Dec 10, 2024
1 parent bde16e0 commit 2c8eb7d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions pkg/debug_others.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@ type (
}
)

func (d *Debugger) start(*exec.Cmd) (*debuggerInstance, error) {
func (d *Debugger) newInstance(_ *exec.Cmd) (*debuggerInstance, error) {
return nil, errDebuggingNotSupported
}

func ptrace(request int, pid int, addr uintptr, data uintptr) error {
return nil
}
func (d *debuggerInstance) run() {}

0 comments on commit 2c8eb7d

Please sign in to comment.