diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-01-10 18:46:27 +0000 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-04-23 22:50:23 +0100 |
commit | aee6c3cd1fea463422f19394f95c311f239b6067 (patch) | |
tree | 5daaf560e93f9c6524e2801d945d985ae1c2ed22 /gdb/exceptions.c | |
parent | 8e2b5aea9d3f16961f7fac15caec00e955c1dc81 (diff) | |
download | gdb-aee6c3cd1fea463422f19394f95c311f239b6067.zip gdb-aee6c3cd1fea463422f19394f95c311f239b6067.tar.gz gdb-aee6c3cd1fea463422f19394f95c311f239b6067.tar.bz2 |
gdb/mn10300: 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:
* mn10300-tdep.c (mn10300_dummy_id): Delete.
(mn10300_unwind_pc): Delete.
(mn10300_unwind_sp): Delete.
(mn10300_push_dummy_call): Use gdbarch_unwind_sp not
mn10300_unwind_sp.
(mn10300_frame_unwind_init): Don't register deleted functions with
gdbarch.
Diffstat (limited to 'gdb/exceptions.c')
0 files changed, 0 insertions, 0 deletions