gdb/aarch64: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Sun, 9 Sep 2018 14:52:28 +0000 (15:52 +0100)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 27 Feb 2019 14:54:42 +0000 (16:54 +0200)
commit7a995095f35f024517ddaa07b8a8ad04463e3ce5
treefbbb762927e26794c1f4fd94cc89cc2a1ac8dc47
parent52d6f3ee9439bb20c45421ecfeef2a69fd0b5511
gdb/aarch64: 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/aarch64-tdep.c (aarch64_dummy_id): Delete.
(aarch64_unwind_pc): Delete.
(aarch64_unwind_sp): Delete.
(aarch64_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/aarch64-tdep.c