From: Tim Newsome Date: Mon, 31 Oct 2016 19:25:15 +0000 (-0700) Subject: Minor code cleanup. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=53db924b0200997dc4475ab9d087cdb6d157a812;p=riscv-isa-sim.git Minor code cleanup. --- diff --git a/riscv/gdbserver.cc b/riscv/gdbserver.cc index 4bc56c8..429ae20 100644 --- 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_write32(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);