gdb/moxie: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 18:48:53 +0000 (18:48 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 21:50:24 +0000 (22:50 +0100)
commit27f113c8e9b2361caf3dfcf15437020306bf93b9
tree960ca0eb0688c332f2a1a77523553630cc12c146
parentaee6c3cd1fea463422f19394f95c311f239b6067
gdb/moxie: 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:

* moxie-tdep.c (moxie_unwind_sp): Delete.
(moxie_unwind_pc): Delete.
(moxie_dummy_id): Delete.
(moxie_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/moxie-tdep.c