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.
This commit is contained in:
Scott Bambrough 2000-09-06 18:43:49 +00:00
parent f998903041
commit e1d6e81ff4
4 changed files with 18 additions and 15 deletions

View file

@ -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;
}