[PATCH] Remove use of deprecated core functions (in NetBSD/ARM)

John Baldwin jhb@FreeBSD.org
Mon Mar 9 20:53:09 GMT 2020


On 3/6/20 2:48 PM, Christian Biesinger via gdb-patches wrote:
> Thanks for the feedback; I thought about that but there are two places
> in this function that make this harder -- there is an arm_apcs_32
> check that affects what gets supplied for ARM_PS_REGNUM and there's a
> call to gdbarch_addr_bits_remove on the PC, perhaps for the thumb bit.
> So I think I cannot convert it while keeping the same semantics?
> 
> The fetch_registers implementation does share this code with my patch.
> 
> Any thoughts?

Fair enough, that does make it harder to handle as simply.  The current patch
is certainly an improvement.

-- 
John Baldwin


More information about the Gdb-patches mailing list