forked from Imagelibrary/binutils-gdb
* gdbarch.sh (addr_bits_remove): Change type to 'm'.
(smash_text_address): Likewise. * gdbarch.c, gdbarch.h: Regenerate. * arch-utils.c (core_addr_identity): Add gdbarch parameter. * arch-utils.h (core_addr_identity): Likewise. * arm-tdep.c (arm_addr_bits_remove): Likewise. (arm_smash_text_address): Likewise. * hppa-tdep.c (hppa_smash_text_address): Likewise. * m88k-tdep.c (m88k_addr_bits_remove): Likewise. * s390-tdep.c (s390_addr_bits_remove): Likewise. * mips-tdep.c (mips_addr_bits_remove): Add gdbarch parameter. Use it instead of current_gdbarch. * arm-tdep.c (arm_prologue_prev_register, arm_unwind_pc, arm_dwarf2_prev_register): Update calls. * m88k-tdep.c (m88k_unwind_pc): Update call.
This commit is contained in:
@@ -60,7 +60,7 @@ extern int core_addr_greaterthan (CORE_ADDR lhs, CORE_ADDR rhs);
|
||||
|
||||
/* Identity functions on a CORE_ADDR. Just return the "addr". */
|
||||
|
||||
extern CORE_ADDR core_addr_identity (CORE_ADDR addr);
|
||||
extern CORE_ADDR core_addr_identity (struct gdbarch *gdbarch, CORE_ADDR addr);
|
||||
extern gdbarch_convert_from_func_ptr_addr_ftype convert_from_func_ptr_addr_identity;
|
||||
|
||||
/* No-op conversion of reg to regnum. */
|
||||
|
||||
Reference in New Issue
Block a user