gdb/v850: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:28:24 +0000 (20:28 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 22:06:53 +0000 (23:06 +0100)
commit29222070e410d441108895fcc3011f576bd05461
treef75bfd4fa116cf443b49b66013eaf51a5938cf3b
parent0f534d767b257fffd8a9b231c97ff9ed33688452
gdb/v850: 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:

* v850-tdep.c (v850_unwind_sp): Delete.
(v850_unwind_pc): Delete.
(v850_dummy_id): Delete.
(v850_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/v850-tdep.c