* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if

we're attaching to a running process.
This commit is contained in:
Joel Brobecker
2008-06-18 21:26:07 +00:00
parent 944982cfb1
commit ea8eedbe57
2 changed files with 10 additions and 0 deletions

View File

@@ -306,6 +306,11 @@ osf_clear_solib (void)
static void
osf_solib_create_inferior_hook (void)
{
/* If we are attaching to the inferior, the shared libraries
have already been mapped, so nothing more to do. */
if (attach_flag)
return;
/* Nothing to do for statically bound executables. */
if (symfile_objfile == NULL