gdb/frv: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 19 Dec 2018 22:31:50 +0000 (22:31 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Wed, 27 Feb 2019 14:54:43 +0000 (16:54 +0200)
commit2fbe7ad059d9ec2a8a378a5c2b973a1188677422
treea06f896bfe4f9bbb487ea535aa80dbddaf71120a
parent76055cbe88cc6623f88c8ae43ed8b8ae6883df9e
gdb/frv: 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/frv-tdep.c (frv_dummy_id): Delete.
(frv_unwind_pc): Delete.
(frv_unwind_sp): Delete.
(frv_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/frv-tdep.c