gdb/nios2: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 18:55:23 +0000 (18:55 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 21:50:26 +0000 (22:50 +0100)
commit96acf8844a655e34de3f3b014a7f64f26266dee1
tree98a6f7f85bff364e00a054fabd869c0b57aa41a2
parentca0ab0aa8194eda711cf52efe6c26cb821218476
gdb/nios2: Use default gdbarch methods where possible

Make use of the default gdbarch methods for gdbarch_dummy_id, 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:

* nios2-tdep.c (nios2_dummy_id): Delete.
(nios2_unwind_sp): Delete.
(nios2_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/nios2-tdep.c