diff options
Diffstat (limited to 'gdb/riscv-tdep.c')
-rw-r--r-- | gdb/riscv-tdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/riscv-tdep.c b/gdb/riscv-tdep.c index b8844b6..4be8902 100644 --- a/gdb/riscv-tdep.c +++ b/gdb/riscv-tdep.c @@ -1947,7 +1947,7 @@ riscv_scan_prologue (struct gdbarch *gdbarch, } else if (insn.opcode () == riscv_insn::ADD) { - /* Handle: addi REG1, REG2, IMM */ + /* Handle: add REG1, REG2, REG3 */ gdb_assert (insn.rd () < RISCV_NUM_INTEGER_REGS); gdb_assert (insn.rs1 () < RISCV_NUM_INTEGER_REGS); gdb_assert (insn.rs2 () < RISCV_NUM_INTEGER_REGS); |