diff options
author | Scott Bambrough <scottb@netwinder.org> | 2000-09-06 18:43:49 +0000 |
---|---|---|
committer | Scott Bambrough <scottb@netwinder.org> | 2000-09-06 18:43:49 +0000 |
commit | e1d6e81ff4adfc014351f9351cc458c17c751e0e (patch) | |
tree | e864325e7aa237e9303cf263c631fe9100102768 /gdb/arm-linux-tdep.c | |
parent | f998903041dd48584defd9c3b0fb6b30b1daf3bc (diff) | |
download | gdb-e1d6e81ff4adfc014351f9351cc458c17c751e0e.zip gdb-e1d6e81ff4adfc014351f9351cc458c17c751e0e.tar.gz gdb-e1d6e81ff4adfc014351f9351cc458c17c751e0e.tar.bz2 |
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.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdb/arm-linux-tdep.c b/gdb/arm-linux-tdep.c index 0e4c370..f50f712 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; } |