[PATCH] gdbarch: Add pc_signed field and use it when adjusting BP addresses
Vlad Ivanov
vlad.ivanov@lab-systems.ru
Thu Mar 15 13:56:00 GMT 2018
15.03.2018, 16:46, "Andreas Schwab" <schwab@suse.de>:
>
> What happens if you start with a non-canonical address? The call to
> address_significant wouldn't be needed if adjusted_bpaddr were always
> canonical to begin with.
I don't think MIPS backend can return an address without sign extension.
The call to address_significant was added there before â looking at the
original commit message, another target (AArch64) can return "tagged"
address that needs trimming.
Regards,
Vlad
More information about the Gdb-patches
mailing list