From: Tom Tromey Date: Fri, 21 Feb 2020 15:41:11 +0000 (-0700) Subject: Fix two more mips-tdep.h declarations X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e94e944bf2834d9bceafa1e1e4246bfa87b89677;p=binutils-gdb.git Fix two more mips-tdep.h declarations My earlier patch to fix a declaration mismatch in mips-tdep.h missed a couple of spots. Basically, I sent it too soon. This patch fixes a couple more mismatches between a declaration (using bfd_vma) and the definition (using CORE_ADDR). gdb/ChangeLog 2020-02-21 Tom Tromey * mips-tdep.h (mips_pc_is_mips16, mips_pc_is_micromips): Parameter type is CORE_ADDR. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 90eb475bf87..6ac818b04d3 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2020-02-21 Tom Tromey + + * mips-tdep.h (mips_pc_is_mips16, mips_pc_is_micromips): Parameter + type is CORE_ADDR. + 2020-02-21 Tom de Vries PR gdb/25534 diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h index 17589e3907d..99546201395 100644 --- a/gdb/mips-tdep.h +++ b/gdb/mips-tdep.h @@ -166,11 +166,11 @@ extern int mips_pc_is_mips (CORE_ADDR memaddr); /* Tell if the program counter value in MEMADDR is in a MIPS16 function. */ -extern int mips_pc_is_mips16 (struct gdbarch *gdbarch, bfd_vma memaddr); +extern int mips_pc_is_mips16 (struct gdbarch *gdbarch, CORE_ADDR memaddr); /* Tell if the program counter value in MEMADDR is in a microMIPS function. */ -extern int mips_pc_is_micromips (struct gdbarch *gdbarch, bfd_vma memaddr); +extern int mips_pc_is_micromips (struct gdbarch *gdbarch, CORE_ADDR memaddr); /* Return the currently configured (or set) saved register size. */ extern unsigned int mips_abi_regsize (struct gdbarch *gdbarch);