[PATCH 06/25] gdb/mep: Use default gdbarch methods where possible

Kevin Buettner kevinb@redhat.com
Wed Mar 27 21:54:00 GMT 2019


On Wed, 27 Mar 2019 21:34:02 +0000
Andrew Burgess <andrew.burgess@embecosm.com> wrote:

> 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:
> 
> 	* mep-tdep.c (mep_unwind_pc): Delete.
> 	(mep_unwind_sp): Delete.
> 	(mep_dummy_id): Delete.
> 	(mep_gdbarch_init): Don't register deleted functions with
> 	gdbarch.

Okay.

Kevin



More information about the Gdb-patches mailing list