gdb/h8300: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 27 Dec 2018 11:52:53 +0000 (11:52 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 27 Feb 2019 14:54:44 +0000 (16:54 +0200)
commit9734a586671fa95a06a2e10323c14d0157805057
treebf3e690285d124cb995d1fcd7f51d3d0d0a1cdc7
parent68b867f30eeca7e9585e9ee16e824f5a18e2bc6c
gdb/h8300: 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:

* gdb/h8300-tdep.c (h8300_unwind_pc): Delete.
(h8300_unwind_sp): Delete.
(h8300_dummy_id): Delete.
(h8300_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/h8300-tdep.c