crash
crash copied to clipboard
riscv64 support?
Hi, Just wanted to check what is the status with crash and riscv64.
No, the current crash does not support riscv64.
Probably the gdb-7.6 that crash contains also does not support it in the first place. We have been working on rebasing gdb to 10.1 [1], it might be needed.
[1] https://listman.redhat.com/archives/crash-utility/2021-March/msg00078.html
Upgrading gdb is insufficient. configure.c has also to be adjusted. Please, create a branch to allow collaboration on the update.
Is there a place form where the original patch email files can be downloaded?
Here is Alexey's branch for gdb 10.2: https://github.com/YustasSwamp/crash/tree/crash-gdb10.2-devel-temp
For RISC-V support at least the following is needed:
- switching to current GDB
- add RISC-V defintions to configure.c (like https://github.com/xypron/crash/commit/2391175c7936a3d873b7b7f1b6c6cae2f4c166b8)
- add RISC-V definitions to defs.h
- create riscv64.c, unwind_riscv64.c
just give an update for this, there are working patches[1] for RISC-V support, which is kind of usable..
[1] https://lore.kernel.org/r/[email protected]