From ff3a05b3f87093e5ac2bcd5e510bca4bebf1bef2 Mon Sep 17 00:00:00 2001 From: Andrew Burgess Date: Thu, 16 Aug 2018 14:56:19 +0100 Subject: gdb/riscv: Extend instruction decode to cover more instructions Extends the instruction decoder used during prologue scan and software single step to cover more instructions. These instructions are encountered when running the current GDB testsuite with the DWARF stack unwinders turned off. gdb/ChangeLog: * riscv-tdep.c (riscv_insn::decode): Decode c.addi4spn, c.sd, c.sw, c.swsp, and c.sdsp. --- gdb/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gdb/ChangeLog') diff --git a/gdb/ChangeLog b/gdb/ChangeLog index ee66a06..0d55fd4 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2018-08-30 Andrew Burgess + * riscv-tdep.c (riscv_insn::decode): Decode c.addi4spn, c.sd, + c.sw, c.swsp, and c.sdsp. + +2018-08-30 Andrew Burgess + * riscv-tdep.c (struct riscv_inferior_data): Delete. (riscv_read_misa_reg): Don't cache value read into inferior data. (riscv_new_inferior_data): Delete. -- cgit v1.1