aboutsummaryrefslogtreecommitdiff
path: root/gdb/solib-svr4.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>2008-08-05 00:16:23 +0000
committerStan Shebs <shebs@codesourcery.com>2008-08-05 00:16:23 +0000
commit5be973eb83ff501f1a12d104214e55d11cf17729 (patch)
treeb70e5418c8fd26a85acd2f2b21a9f3d3f9eb3d7d /gdb/solib-svr4.c
parent75fad9c700772430a282d374d6e0569d0eeac2a0 (diff)
downloadbinutils-5be973eb83ff501f1a12d104214e55d11cf17729.zip
binutils-5be973eb83ff501f1a12d104214e55d11cf17729.tar.gz
binutils-5be973eb83ff501f1a12d104214e55d11cf17729.tar.bz2
* 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.
Diffstat (limited to 'gdb/solib-svr4.c')
-rw-r--r--gdb/solib-svr4.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gdb/solib-svr4.c b/gdb/solib-svr4.c
index 70e8802..f988ae1 100644
--- a/gdb/solib-svr4.c
+++ b/gdb/solib-svr4.c
@@ -85,20 +85,13 @@ static char *solib_break_names[] =
NULL
};
-#define BKPT_AT_SYMBOL 1
-
-#if defined (BKPT_AT_SYMBOL)
static char *bkpt_names[] =
{
-#ifdef SOLIB_BKPT_NAME
- SOLIB_BKPT_NAME, /* Prefer configured name if it exists. */
-#endif
"_start",
"__start",
"main",
NULL
};
-#endif
static char *main_name_list[] =
{
@@ -967,8 +960,6 @@ exec_entry_point (struct bfd *abfd, struct target_ops *targ)
static int
enable_break (void)
{
-#ifdef BKPT_AT_SYMBOL
-
struct minimal_symbol *msymbol;
char **bkpt_namep;
asection *interp_sect;
@@ -1203,8 +1194,6 @@ enable_break (void)
return 1;
}
}
-#endif /* BKPT_AT_SYMBOL */
-
return 0;
}