forked from Imagelibrary/binutils-gdb
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
we're attaching to a running process.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user