[PATCH] gdbarch: Add pc_signed field and use it when adjusting BP addresses
Vlad Ivanov
vlad.ivanov@lab-systems.ru
Thu Mar 15 13:10:00 GMT 2018
15.03.2018, 15:59, "Ulrich Weigand" <uweigand@de.ibm.com>:
> If the address is already correct, why don't you simply set
> gdbarch_significant_addr_bit
> to 64 in the mips back-end instead of adding a new gdbarch routine?
That would affect address printing. Moreover, semantically it's
probably not a good practice because the code would imply that for
all kind of MIPS all 64 bits of address are significant, whereas
in reality it differs from target to target.
Regards,
Vlad
More information about the Gdb-patches
mailing list