gdb/riscv: Extend instruction decode to cover more instructions
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 16 Aug 2018 13:56:19 +0000 (14:56 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 30 Aug 2018 15:35:55 +0000 (16:35 +0100)
commitff3a05b3f87093e5ac2bcd5e510bca4bebf1bef2
treebafaf71301f47b195ec1ebff3c7fafdc035a52a3
parent0b3f9efc044d2971aa0d9bb39a4c76678bc4ea6d
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
gdb/riscv-tdep.c