Actions
Feature #17615
closedDump machine registers on RISC-V Linux
Status:
Closed
Assignee:
-
Target version:
-
Description
Dump every integer register that is either callee-saved or used for parameter passing on RISC-V Linux. An example output:
-- Machine register context ------------------------------------------------
sp: 0x0000004001801550 s0: 0x00000040018015b0 s1: 0x0000004000004bb0
a0: 0x0000000000000000 a1: 0x000000000000000b a2: 0xffffffffffffffff
a3: 0x000000000000000b a4: 0x000000000000000b a5: 0x0000000000003934
a6: 0x0000004001ac2ebe a7: 0x0000000000000081 s2: 0x00000040022a8058
s3: 0x0000000000000000 s4: 0x0000000000000000 s5: 0x0000000000000000
s6: 0x0000000000000000 s7: 0x0000000000000000 s8: 0x0000000000000000
s9: 0x0000000000000000 s10: 0x0000000000000000 s11: 0x0000000000000000
A patch is attached for this purpose. Please consider merging it.
Files
Updated by mame (Yusuke Endoh) over 3 years ago
- Status changed from Open to Closed
Applied in changeset git|66394aec9813e52751e2b099ee6a4814ace494f8.
vm_dump.c: Dump machine registers on RISC-V Linux
Fixes [Bug #17615]
Co-Authored-By: xtkoba (Tee KOBAYASHI) xtkoba+ruby@gmail.com
Updated by mame (Yusuke Endoh) over 3 years ago
Merged, thank you!
Actions
Like0
Like0Like0