This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 06/12] gdb/cris: Use default gdbarch methods where possible
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: andrew dot burgess at embecosm dot com
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 3 Jan 2019 00:23:11 +0100
- Subject: Re: [PATCH 06/12] gdb/cris: Use default gdbarch methods where possible
> From: Andrew Burgess <andrew.burgess@embecosm.com>
> Date: Thu, 27 Dec 2018 14:08:30 +0000
> 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:
>
> * gdb/cris-tdep.c (cris_dummy_id): Delete.
> (cris_unwind_pc): Delete.
> (cris_unwind_sp): Delete.
> (cris_gdbarch_init): Don't register deleted functions with
> gdbarch.
LGTM, thanks.
brgds, H-P