gdb/s12z: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:38:42 +0000 (20:38 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 22:06:54 +0000 (23:06 +0100)
commitf872fdbb5b83f39f359bc1cd016dcc0456cb0c0a
tree9da4dc27fbbe31dab8f55c1863821871ef5542fc
parentb614e6f3f820fe08d407b57821456f672d4d1a6f
gdb/s12z: Use default gdbarch methods where possible

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

* s12z-tdep.c (s12z_unwind_pc): Delete.
(s12z_unwind_sp): Delete.
(s12z_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/s12z-tdep.c