aboutsummaryrefslogtreecommitdiff
path: root/gdb/arm-tdep.c
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2007-03-30 22:50:33 +0000
committerPedro Alves <palves@redhat.com>2007-03-30 22:50:33 +0000
commitad527d2e20f167064a998e8f88051cbcdc401e4d (patch)
tree30c260ea15e087a215dce12de9cc83035a1676a1 /gdb/arm-tdep.c
parented50f18f1854624ebbd68f3424e2101f86885e09 (diff)
downloadgdb-ad527d2e20f167064a998e8f88051cbcdc401e4d.zip
gdb-ad527d2e20f167064a998e8f88051cbcdc401e4d.tar.gz
gdb-ad527d2e20f167064a998e8f88051cbcdc401e4d.tar.bz2
gdb/
* configure.tgt: Move mips*-*-pe and sh*-*-pe to the obsoletion stanza. * NEWS: Mention deleted targets. * config/sh/tm-wince.h: Remove. * config/sh/wince.mt: Remove. * config/mips/tm-wince.h: Remove. * config/mips/wince.mt: Remove. * wince.c: Remove. * wince-stub.c: Remove. * wince-stub.h: Remove. * Makefile.in (wince.o): Remove rule. (wince-stub.o): Likewise. * mips-tdep.c (mips_next_pc): Make static. * mips-tdep.h (mips_next_pc): Remove declaration. * arm-tdep.c (arm_pc_is_thumb): Make static. (thumb_get_next_pc): Likewise. (arm_get_next_pc): Likewise. * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. (arm_pc_is_thumb): Likewise. (thumb_get_next_pc): Likewise. (arm_get_next_pc): Likewise. gdb/doc/ * gdb.texinfo (WinCE): Delete obsolete subsection.
Diffstat (limited to 'gdb/arm-tdep.c')
-rw-r--r--gdb/arm-tdep.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/arm-tdep.c b/gdb/arm-tdep.c
index 19afdac..22a08f8 100644
--- a/gdb/arm-tdep.c
+++ b/gdb/arm-tdep.c
@@ -217,7 +217,7 @@ int arm_apcs_32 = 1;
/* Determine if the program counter specified in MEMADDR is in a Thumb
function. */
-int
+static int
arm_pc_is_thumb (CORE_ADDR memaddr)
{
struct minimal_symbol *sym;
@@ -1603,7 +1603,7 @@ bitcount (unsigned long val)
return nbits;
}
-CORE_ADDR
+static CORE_ADDR
thumb_get_next_pc (CORE_ADDR pc)
{
unsigned long pc_val = ((unsigned long) pc) + 4; /* PC after prefetch */
@@ -1659,7 +1659,7 @@ thumb_get_next_pc (CORE_ADDR pc)
return nextpc;
}
-CORE_ADDR
+static CORE_ADDR
arm_get_next_pc (CORE_ADDR pc)
{
unsigned long pc_val;