artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ae9522
)
Print a few more registers in dump_regs().
author
kettenis
<kettenis@openbsd.org>
Mon, 26 Jul 2021 22:13:19 +0000
(22:13 +0000)
committer
kettenis
<kettenis@openbsd.org>
Mon, 26 Jul 2021 22:13:19 +0000
(22:13 +0000)
sys/arch/riscv64/riscv64/trap.c
patch
|
blob
|
history
diff --git
a/sys/arch/riscv64/riscv64/trap.c
b/sys/arch/riscv64/riscv64/trap.c
index
31e496c
..
8acaee8
100644
(file)
--- a/
sys/arch/riscv64/riscv64/trap.c
+++ b/
sys/arch/riscv64/riscv64/trap.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: trap.c,v 1.1
5 2021/06/20 17:57:10 deraadt Exp $
*/
+/* $OpenBSD: trap.c,v 1.1
6 2021/07/26 22:13:19 kettenis Exp $
*/
/*
* Copyright (c) 2020 Shivam Waghela <shivamwaghela@gmail.com>
@@
-57,6
+57,8
@@
dump_regs(struct trapframe *frame)
printf("sepc == 0x%016lx\n", frame->tf_sepc);
printf("sstatus == 0x%016lx\n", frame->tf_sstatus);
+ printf("stval == 0x%016lx\n", frame->tf_stval);
+ printf("scause == 0x%016lx\n", frame->tf_scause);
}
void