gdb: add risc-v disassembler options support
authorAndrew Burgess <aburgess@redhat.com>
Tue, 28 Sep 2021 21:11:57 +0000 (22:11 +0100)
committerAndrew Burgess <aburgess@redhat.com>
Fri, 26 Nov 2021 10:18:59 +0000 (10:18 +0000)
commit61a5375b842e24b6f492efda7eb213b6e6cf677d
tree5414919612452a1d8f658b0ea6cffa1c5a97043a
parent3a337a86d9d273b5da57b1cd8ecec4baa7e95e33
gdb: add risc-v disassembler options support

This commit adds support for RISC-V disassembler options to GDB.  This
commit is based on this patch which was never committed:

  https://sourceware.org/pipermail/binutils/2021-January/114944.html

All of the binutils refactoring has been moved to a separate, earlier,
commit, so this commit is pretty straight forward, just registering
the required gdbarch hooks.

Co-authored-by: Simon Cook <simon.cook@embecosm.com>
gdb/riscv-tdep.c