[PATCH 13/25] gdb/or1k: Use default gdbarch methods where possible
Stafford Horne
shorne@gmail.com
Wed Mar 27 21:50:00 GMT 2019
On Wed, Mar 27, 2019 at 09:34:09PM +0000, Andrew Burgess wrote:
> Make use of the default gdbarch method gdbarch_dummy_id 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.
>
> This commit leaves or1k_unwind_sp and or1k_unwind_pc in place. These
> functions do match the default methods except that they add additional
> debugging code. In order to preserve the debug I have left these
> functions unchanged.
This looks good to me.
-Stafford
More information about the Gdb-patches
mailing list