From ad527d2e20f167064a998e8f88051cbcdc401e4d Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 30 Mar 2007 22:50:33 +0000 Subject: 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. --- gdb/arm-tdep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gdb/arm-tdep.c') 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; -- cgit v1.1