gdb/tic6x: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:23:44 +0000 (20:23 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 22:06:53 +0000 (23:06 +0100)
commit1ba7b7f9384eafc0748cee4c6731d6bdb717bd20
tree9d0ecab273133b09622a76eed1d4f31c233c78fc
parentd31f262c36a450fe64e5886228d585c75cfecf14
gdb/tic6x: Use default gdbarch methods where possible

Make use of the default gdbarch methods for gdbarch_dummy_id, 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:

* tic6x-tdep.c (tic6x_unwind_sp): Delete.
(tic6x_dummy_id): Delete.
(tic6x_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/tic6x-tdep.c