projects
/
riscv-isa-sim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f346fd
)
Remove a debugging printf
author
Palmer Dabbelt
<palmer@dabbelt.com>
Wed, 26 Apr 2017 16:14:07 +0000
(09:14 -0700)
committer
Palmer Dabbelt
<palmer@dabbelt.com>
Wed, 26 Apr 2017 16:14:27 +0000
(09:14 -0700)
riscv/processor.cc
patch
|
blob
|
history
diff --git
a/riscv/processor.cc
b/riscv/processor.cc
index b2c2d344ec0e3db50120db13e09153d2e706d108..6f0d3a7b9008bef422a8769ec4b881e2edc81fb7 100644
(file)
--- a/
riscv/processor.cc
+++ b/
riscv/processor.cc
@@
-189,7
+189,6
@@
void processor_t::set_privilege(reg_t prv)
void processor_t::enter_debug_mode(uint8_t cause)
{
- fprintf(stderr, "Entering debug mode because of cause %d", cause);
state.dcsr.cause = cause;
state.dcsr.prv = state.prv;
set_privilege(PRV_M);