gdb/rl78: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:36:34 +0000 (20:36 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 22:06:54 +0000 (23:06 +0100)
commitb614e6f3f820fe08d407b57821456f672d4d1a6f
tree9df6d6305f9013987ab81bd21dc88be53549007c
parent14faed38e730e3ab2a1aa8d5232b4883638fd857
gdb/rl78: Use default gdbarch methods where possible

Make use of the default gdbarch method 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:

* rl78-tdep.c (rl78_unwind_sp): Delete.
(rl78_gdbarch_init): Don't register deleted function with gdbarch.
gdb/ChangeLog
gdb/rl78-tdep.c