* solib-svr4.c (BKPT_AT_SYMBOL): Remove, always defined.

(bkpt_names): Remove SOLIB_BKPT_NAME, never defined.
	(enable_break): Remove test of BKPT_AT_SYMBOL.
This commit is contained in:
Stan Shebs 2008-08-05 00:16:23 +00:00
parent 75fad9c700
commit 5be973eb83
2 changed files with 6 additions and 11 deletions

View file

@ -1,3 +1,9 @@
2008-08-04 Stan Shebs <stan@codesourcery.com>
* solib-svr4.c (BKPT_AT_SYMBOL): Remove, always defined.
(bkpt_names): Remove SOLIB_BKPT_NAME, never defined.
(enable_break): Remove test of BKPT_AT_SYMBOL.
2008-08-02 Keith Seitz <keiths@redhat.com> 2008-08-02 Keith Seitz <keiths@redhat.com>
* acinclude.m4: Include ../config/tcl.m4 to pick up * acinclude.m4: Include ../config/tcl.m4 to pick up

View file

@ -85,20 +85,13 @@ static char *solib_break_names[] =
NULL NULL
}; };
#define BKPT_AT_SYMBOL 1
#if defined (BKPT_AT_SYMBOL)
static char *bkpt_names[] = static char *bkpt_names[] =
{ {
#ifdef SOLIB_BKPT_NAME
SOLIB_BKPT_NAME, /* Prefer configured name if it exists. */
#endif
"_start", "_start",
"__start", "__start",
"main", "main",
NULL NULL
}; };
#endif
static char *main_name_list[] = static char *main_name_list[] =
{ {
@ -967,8 +960,6 @@ exec_entry_point (struct bfd *abfd, struct target_ops *targ)
static int static int
enable_break (void) enable_break (void)
{ {
#ifdef BKPT_AT_SYMBOL
struct minimal_symbol *msymbol; struct minimal_symbol *msymbol;
char **bkpt_namep; char **bkpt_namep;
asection *interp_sect; asection *interp_sect;
@ -1203,8 +1194,6 @@ enable_break (void)
return 1; return 1;
} }
} }
#endif /* BKPT_AT_SYMBOL */
return 0; return 0;
} }