commit | f872fdbb5b83f39f359bc1cd016dcc0456cb0c0a | [log] [tgz] |
---|---|---|
author | Andrew Burgess <andrew.burgess@embecosm.com> | Thu Jan 10 20:38:42 2019 +0000 |
committer | Andrew Burgess <andrew.burgess@embecosm.com> | Tue Apr 23 23:06:54 2019 +0100 |
tree | 9da4dc27fbbe31dab8f55c1863821871ef5542fc | |
parent | b614e6f3f820fe08d407b57821456f672d4d1a6f [diff] |
gdb/s12z: Use default gdbarch methods where possible Make use of the default gdbarch methods for 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: * s12z-tdep.c (s12z_unwind_pc): Delete. (s12z_unwind_sp): Delete. (s12z_gdbarch_init): Don't register deleted functions with gdbarch.