gdb/m68hc11: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 18:33:50 +0000 (18:33 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 21:50:22 +0000 (22:50 +0100)
commit43cf3eded2d3ec0af6f5cf534dd89f47d4958a92
tree280aaa31be21ef30e8b1bbe6430436b7a9075491
parent5e79b7bb69c797c3ca401cfa0f7a616eb2e3efe8
gdb/m68hc11: 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:

* m68hc11-tdep.c (m68hc11_unwind_pc): Delete.
(m68hc11_unwind_sp): Delete.
(m68hc11_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/m68hc11-tdep.c