aboutsummaryrefslogtreecommitdiff
path: root/gdb/mips-tdep.h
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2020-02-19 12:18:09 -0700
committerTom Tromey <tromey@adacore.com>2020-02-19 12:18:09 -0700
commitdfdeeca1cc6b785243a243d190872789417dda19 (patch)
tree8f1b30746d538391048bd6b649a2b6abcd3ce9e7 /gdb/mips-tdep.h
parent2ef5453be5e06566f60edcba7700503259c29b47 (diff)
downloadgdb-dfdeeca1cc6b785243a243d190872789417dda19.zip
gdb-dfdeeca1cc6b785243a243d190872789417dda19.tar.gz
gdb-dfdeeca1cc6b785243a243d190872789417dda19.tar.bz2
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.
Diffstat (limited to 'gdb/mips-tdep.h')
-rw-r--r--gdb/mips-tdep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mips-tdep.h b/gdb/mips-tdep.h
index 032e2cc..17589e3 100644
--- a/gdb/mips-tdep.h
+++ b/gdb/mips-tdep.h
@@ -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. */