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

* score-tdep.c (score_unwind_sp): Delete.
(score_unwind_pc): Delete.
(score_dummy_id): Delete.
(score_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/score-tdep.c