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 | |
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')
-rw-r--r-- | gdb/ChangeLog | 11 | ||||
-rw-r--r-- | gdb/arm-linux-tdep.c | 7 | ||||
-rw-r--r-- | gdb/config/arm/tm-arm.h | 7 | ||||
-rw-r--r-- | gdb/config/arm/tm-embed.h | 8 |
4 files changed, 18 insertions, 15 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 9154e42..8fb3c20 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,6 +1,15 @@ +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. + 2000-09-06 H.J. Lu <hjl@gnu.org> - * TODO: Add hardware watchpint problems on x86 OSes for 5.1. + * TODO: Add hardware watchpoint problems on x86 OSes for 5.1. 2000-09-06 Kevin Buettner <kevinb@redhat.com> 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; } diff --git a/gdb/config/arm/tm-arm.h b/gdb/config/arm/tm-arm.h index ed8e80c..190b8b2 100644 --- a/gdb/config/arm/tm-arm.h +++ b/gdb/config/arm/tm-arm.h @@ -513,4 +513,11 @@ extern int coff_sym_is_thumb (int val); /* The first 0x20 bytes are the trap vectors. */ #define LOWEST_PC 0x20 +/* Function to determine whether MEMADDR is in a Thumb function. */ +extern int arm_pc_is_thumb (bfd_vma memaddr); + +/* Function to determine whether MEMADDR is in a call dummy called from + a Thumb function. */ +extern int arm_pc_is_thumb_dummy (bfd_vma memaddr); + #endif /* TM_ARM_H */ diff --git a/gdb/config/arm/tm-embed.h b/gdb/config/arm/tm-embed.h index c2a856b..5069f3f 100644 --- a/gdb/config/arm/tm-embed.h +++ b/gdb/config/arm/tm-embed.h @@ -53,14 +53,6 @@ extern int arm_in_call_stub (CORE_ADDR pc, char *name); extern CORE_ADDR arm_skip_stub (CORE_ADDR pc); -/* Function to determine whether MEMADDR is in a Thumb function. */ -extern int arm_pc_is_thumb (bfd_vma memaddr); - -/* Function to determine whether MEMADDR is in a call dummy called from - a Thumb function. */ -extern int arm_pc_is_thumb_dummy (bfd_vma memaddr); - - #undef IN_SIGTRAMP #define IN_SIGTRAMP(pc, name) 0 |