gdb/rs6000: Use default gdbarch methods where possible
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:08:18 +0000 (20:08 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 21:50:27 +0000 (22:50 +0100)
commit833a4480dd7cadfd645d7b141168a0e22dc50665
treef24633106adb449c3320377f7785a446e50a2bea
parent3f2cef4945a916e3b566010340bbc70cfe927916
gdb/rs6000: Use default gdbarch methods where possible

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

* rs6000-tdep.c (rs6000_unwind_pc): Delete.
(rs6000_dummy_id): Delete.
(rs6000_gdbarch_init): Don't register deleted functions with
gdbarch.
gdb/ChangeLog
gdb/rs6000-tdep.c