gdb/riscv: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 19 Dec 2018 22:24:22 +0000 (22:24 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 27 Feb 2019 14:54:43 +0000 (16:54 +0200)
commit76055cbe88cc6623f88c8ae43ed8b8ae6883df9e
tree8fee1681999c7337af6c11e50a1b5b03c3945602
parent4133e5a13f15d86bb1f834090de98cca4c34759d
gdb/riscv: Use default gdbarch methods where possible

Make use of the default gdbarch methods for gdbarch_dummy_id,
gdbarch_unwind_pc, and gdbarch_unwind_sp where possible.

This change has been tested with no regressions.

gdb/ChangeLog:

* gdb/riscv-tdep.c (riscv_dummy_id): Delete.
(riscv_unwind_pc): Delete.
(riscv_unwind_sp): Delete.
(riscv_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/riscv-tdep.c