mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-05 11:37:46 +00:00
170a069132
At least on my system (Fedora 42) the standard gdb binary is capable of debugging riscv-qemu binaries (running inside qemu-system-riscv32).
20 lines
316 B
JSON
20 lines
316 B
JSON
{
|
|
"inherits": ["riscv"],
|
|
"llvm-target": "riscv32-unknown-none",
|
|
"cpu": "generic-rv32",
|
|
"target-abi": "ilp32",
|
|
"build-tags": ["tinygo.riscv32"],
|
|
"scheduler": "tasks",
|
|
"default-stack-size": 2048,
|
|
"cflags": [
|
|
"-march=rv32imac"
|
|
],
|
|
"ldflags": [
|
|
"-melf32lriscv"
|
|
],
|
|
"gdb": [
|
|
"gdb-multiarch",
|
|
"gdb"
|
|
]
|
|
}
|