summaryrefslogtreecommitdiff
path: root/gdb/arm-linux-tdep.c
diff options
context:
space:
mode:
authorScott Bambrough <scottb@netwinder.org>2000-09-06 18:43:49 +0000
committerScott Bambrough <scottb@netwinder.org>2000-09-06 18:43:49 +0000
commit7cc93f078c16af8c9f8dc0ca8d6348101b47469d (patch)
tree8935adb7be0da8f01a03bc90d767a346a9d0fabf /gdb/arm-linux-tdep.c
parentce7c68ac9e973eaf87c59a53bbc53078d56ab764 (diff)
downloadgdb-7cc93f078c16af8c9f8dc0ca8d6348101b47469d.tar.gz
Remove stray debugging statement and move prototypes so arm-linux-tdep.c
compiles without warnings. 2000-09-06 Scott Bambrough <scottb@netwinder.org> * arm-linux-tdep.c (arm_linux_skip_solib_resolver): Removed debug print statement. Removed arm_pc_is_thumb prototype. * config/arm/tm-arm.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Move prototypes here from tm-embed.h. * config/arm/tm-embed.h (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Remove prototypes. Moved to tm-arm.h.
Diffstat (limited to 'gdb/arm-linux-tdep.c')
-rw-r--r--gdb/arm-linux-tdep.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c
index 0e4c370ebfd..f50f7121f49 100644
--- a/gdb/arm-linux-tdep.c
+++ b/gdb/arm-linux-tdep.c
@@ -31,10 +31,6 @@
#include "symfile.h"
#include "objfiles.h"
-/* FIXME: Put in common header file shared between arm-tdep.c and
- arm-linux-tdep.c */
-int arm_pc_is_thumb (CORE_ADDR memaddr);
-
#ifdef GET_LONGJMP_TARGET
/* Figure out where the longjmp will land. We expect that we have
@@ -431,10 +427,9 @@ arm_linux_skip_solib_resolver (CORE_ADDR pc)
/* Plug in functions for other kinds of resolvers here. */
result = skip_hurd_resolver (pc);
- printf ("Result = 0x%08lx\n", result);
+
if (result)
return result;
-
return 0;
}