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:
0b554a9
)
Minor code cleanup.
author
Tim Newsome
<tim@sifive.com>
Mon, 31 Oct 2016 19:25:15 +0000
(12:25 -0700)
committer
Tim Newsome
<tim@sifive.com>
Mon, 31 Oct 2016 19:25:15 +0000
(12:25 -0700)
riscv/gdbserver.cc
patch
|
blob
|
history
diff --git
a/riscv/gdbserver.cc
b/riscv/gdbserver.cc
index 4bc56c8bda958027bafe945149127cb0b4c0e7dd..429ae204eff75450187d7449d4b8e07ec7c78aea 100644
(file)
--- a/
riscv/gdbserver.cc
+++ b/
riscv/gdbserver.cc
@@
-1048,7
+1048,7
@@
class collect_translation_info_op_t : public operation_t
gs.dr_write32(1, ld(S1, S0, 0));
gs.dr_write32(2, sd(S1, 0, (uint16_t) DEBUG_RAM_START + 16));
}
- gs.dr_write
32(3, jal(0, (uint32_t) (DEBUG_ROM_RESUME - (DEBUG_RAM_START + 4*3)))
);
+ gs.dr_write
_jump(3
);
gs.dr_write32(4, pte_addr);
gs.dr_write32(5, pte_addr >> 32);
gs.set_interrupt(0);