From 53db924b0200997dc4475ab9d087cdb6d157a812 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 31 Oct 2016 12:25:15 -0700 Subject: [PATCH] Minor code cleanup. --- riscv/gdbserver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2