Skip to content

Commit 170a069

Browse files
aykevldeadprogram
authored andcommitted
riscv32: use gdb binary as a fallback
At least on my system (Fedora 42) the standard gdb binary is capable of debugging riscv-qemu binaries (running inside qemu-system-riscv32).
1 parent f19b288 commit 170a069

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

targets/riscv32.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,8 @@
1212
"ldflags": [
1313
"-melf32lriscv"
1414
],
15-
"gdb": ["gdb-multiarch"]
15+
"gdb": [
16+
"gdb-multiarch",
17+
"gdb"
18+
]
1619
}

0 commit comments

Comments
 (0)