gdb/xstormy16: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:32:40 +0000 (20:32 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 22:06:54 +0000 (23:06 +0100)
commit14faed38e730e3ab2a1aa8d5232b4883638fd857
treee680d11ccc047e3eb069887f596b15ee858a24ac
parent541aad8ac923fa2d4a9d35fdf82b487b9f6e0ea8
gdb/xstormy16: 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:

* xstormy16-tdep.c (xstormy16_unwind_sp): Delete.
(xstormy16_unwind_pc): Delete.
(xstormy16_dummy_id): Delete.
(xstormy16_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/xstormy16-tdep.c
This page took 0.031686 seconds and 4 git commands to generate.