gdb/csky: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 19 Dec 2018 22:18:28 +0000 (22:18 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 27 Feb 2019 14:54:43 +0000 (16:54 +0200)
commit4133e5a13f15d86bb1f834090de98cca4c34759d
treee2926516aff36006f25abb52efb7e9ed16d2520f
parent8010f576414759bf5bdcfeaa64226bf03586b763
gdb/csky: 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:

* gdb/csky-tdep.c (csky_dummy_id): Delete.
(csky_unwind_pc): Delete.
(csky_unwind_sp): Delete.
(csky_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/csky-tdep.c
This page took 0.0411 seconds and 4 git commands to generate.