* 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

@ -1,3 +1,8 @@
2008-05-24 Joel Brobecker <brobecker@adacore.com>
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
we're attaching to a running process.
2008-12-18 Pierre Muller <muller@ics.u-strasbg.fr>
* win32-nat.c (handle_load_dll): Give dll name and load address

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