diff options
author | Tom Tromey <tromey@adacore.com> | 2020-02-21 08:41:11 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2020-02-21 08:45:14 -0700 |
commit | e94e944bf2834d9bceafa1e1e4246bfa87b89677 (patch) | |
tree | 41ef8ea146051a8aa95137d86263c840fe66651a /gdb/mips-tdep.h | |
parent | 1eb731795357d77ac1f6200edd04f86d210bec79 (diff) | |
download | gdb-e94e944bf2834d9bceafa1e1e4246bfa87b89677.zip gdb-e94e944bf2834d9bceafa1e1e4246bfa87b89677.tar.gz gdb-e94e944bf2834d9bceafa1e1e4246bfa87b89677.tar.bz2 |
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 <tromey@adacore.com>
* mips-tdep.h (mips_pc_is_mips16, mips_pc_is_micromips): Parameter
type is CORE_ADDR.
Diffstat (limited to 'gdb/mips-tdep.h')
-rw-r--r-- | gdb/mips-tdep.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h index 17589e3..9954620 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); |