mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-17 07:53:51 +08:00
Fix declaration of mips_pc_is_mips
A build where CORE_ADDR is not the same as bfd_vma pointed out that mips_pc_is_mips is declared using bfd_vma as the parameter type, but defined using CORE_ADDR. This patch fixes the declaration. gdb/ChangeLog 2020-02-19 Tom Tromey <tromey@adacore.com> * mips-tdep.h (mips_pc_is_mips): Parameter type is CORE_ADDR.
This commit is contained in:
@ -162,7 +162,7 @@ extern CORE_ADDR mips_unmake_compact_addr (CORE_ADDR addr);
|
||||
|
||||
/* Tell if the program counter value in MEMADDR is in a standard
|
||||
MIPS function. */
|
||||
extern int mips_pc_is_mips (bfd_vma memaddr);
|
||||
extern int mips_pc_is_mips (CORE_ADDR memaddr);
|
||||
|
||||
/* Tell if the program counter value in MEMADDR is in a MIPS16
|
||||
function. */
|
||||
|
Reference in New Issue
Block a user