Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISCV64: Dump NT_PRSTATUS in 'help -n'
With the patch we can get full dump of "struct elf_prstatus" in 'help -n': ``` crash> help -n <snip> Elf64_Nhdr: n_namesz: 5 ("CORE") n_descsz: 376 n_type: 1 (NT_PRSTATUS) si.signo: 0 si.code: 0 si.errno: 0 cursig: 0 sigpend: 0 sighold: 0 pid: 1 ppid: 0 pgrp: 0 sid:0 utime: 0.000000 stime: 0.000000 cutime: 0.000000 cstime: 0.000000 epc: ffffffff8000a1dc ra: ffffffff800af958 sp: ff6000001fc501c0 gp: ffffffff81515d38 tp: ff600000000d8000 t0: 6666666666663c5b t1: ff600000000d88c8 t2: 666666666666663c s0: ff6000001fc50320 s1: ffffffff815170d8 a0: ff6000001fc501c8 a1: c0000000ffffefff a2: 0000000000000000 a3: 0000000000000001 a4: 0000000000000000 a5: ff60000001782c00 a6: 000000000130e0f0 a7: 0000000000000000 s2: ffffffff81517820 s3: ff6000001fc501c8 s4: 000000000000000f s5: 0000000000000000 s6: ff20000000013e60 s7: 0000000000000000 s8: ff60000000861000 s9: 00007fffc3641694 s10: 00007fffc3641690 s11: 00005555796ed240 t3: 0000000000010297 t4: ffffffff80c17810 t5: ffffffff8195e7b8 t6: ff6000001fc50048 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 ffffffff8000a1dc ffffffff800af958 ff6000001fc501c0 ffffffff81515d38 ff600000000d8000 6666666666663c5b <snip> ``` Signed-off-by: Song Shuai <[email protected]>
- Loading branch information