gdb/sparc: Use default_unwind_pc
authorAndrew Burgess <andrew.burgess@embecosm.com>
Thu, 10 Jan 2019 20:20:25 +0000 (20:20 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Tue, 23 Apr 2019 21:50:30 +0000 (22:50 +0100)
commitd31f262c36a450fe64e5886228d585c75cfecf14
tree6fb60ccea44073abed6cee16ab9dfb2f801852ae
parent6d14d64dfefef524398f45fd59c1443ebac624f6
gdb/sparc: Use default_unwind_pc

Make use of the default gdbarch method 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:

* sparc-tdep.c (sparc_unwind_pc): Delete.
(sparc32_gdbarch_init): Don't register deleted function with
gdbarch.
gdb/ChangeLog
gdb/sparc-tdep.c