gdb/rx: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:12:28 +0000 (20:12 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 21:50:28 +0000 (22:50 +0100)
commit47c47d6907bc44a599baff948d2809616c74c44e
tree2a2000ccbe03a238b65cbb035b8d92d449a37e88
parent833a4480dd7cadfd645d7b141168a0e22dc50665
gdb/rx: 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.

I have not tested this change but, by inspecting the code, I believe
the default methods are equivalent to the code being deleted.

gdb/ChangeLog:

* rx-tdep.c (rx_unwind_pc): Delete.
(rx_unwind_sp): Delete.
(rx_dummy_id): Delete.
(rx_gdbarch_init): Don't register deleted functions with
gdbarch.  Update comment.
gdb/ChangeLog
gdb/rx-tdep.c