gdb/iq2000: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 18:18:39 +0000 (18:18 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 21:50:19 +0000 (22:50 +0100)
commitbf12844a68f3f4f267846a19df6a280f53e7ec5f
treeb543e2e9f4fb38d3431640aeaa90c0b09f2dfe14
parentecbc06d2a687f369da7c304201c9f2cbfed80ec6
gdb/iq2000: 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/iq2000-tdep.c (iq2000_unwind_sp): Delete.
(iq2000_unwind_pc): Delete.
(iq2000_dummy_id): Delete.
(iq2000_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/iq2000-tdep.c