Files
gasm-sdk/cmd/gasm/debug_other.go
T

17 lines
381 B
Go
Raw Normal View History

// Copyright (c) 2026 Petr Balvín <opensource@petrbalvin.org> (https://petrbalvin.org)
// SPDX-License-Identifier: BSD-3-Clause
2026-09-25 21:46:40 +02:00
//go:build !(linux || (freebsd && (amd64 || arm64 || riscv64)))
package main
import (
"fmt"
"os"
)
func cmdDebug(args []string) int {
2026-09-25 21:46:40 +02:00
fmt.Fprintln(os.Stderr, "gasm debug: the interactive debugger requires Linux or FreeBSD (ptrace)")
return 1
}