From 2c8eb7d109df8f3f1bcb667d287a5acb188d2220 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Tue, 10 Dec 2024 09:01:44 +0100 Subject: [PATCH] fix: Debugger code for non-supported platforms Signed-off-by: Steffen Vogel --- pkg/debug_others.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/debug_others.go b/pkg/debug_others.go index e02a0748..2e643f68 100644 --- a/pkg/debug_others.go +++ b/pkg/debug_others.go @@ -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() {}