diff options
author | Joel Brobecker <brobecker@gnat.com> | 2008-06-18 21:26:07 +0000 |
---|---|---|
committer | Joel Brobecker <brobecker@gnat.com> | 2008-06-18 21:26:07 +0000 |
commit | ea8eedbe57ff0b2b27bff2f8c30bb109e022f2c5 (patch) | |
tree | 3c1ecc52c2b3e92c80353b8ce7e6f2401a82f360 /gdb/solib-osf.c | |
parent | 944982cfb1f8783d088191a7d292be97856a4e18 (diff) | |
download | gdb-ea8eedbe57ff0b2b27bff2f8c30bb109e022f2c5.zip gdb-ea8eedbe57ff0b2b27bff2f8c30bb109e022f2c5.tar.gz gdb-ea8eedbe57ff0b2b27bff2f8c30bb109e022f2c5.tar.bz2 |
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
we're attaching to a running process.
Diffstat (limited to 'gdb/solib-osf.c')
-rw-r--r-- | gdb/solib-osf.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gdb/solib-osf.c b/gdb/solib-osf.c index 02cc4db..bf94733 100644 --- a/gdb/solib-osf.c +++ b/gdb/solib-osf.c @@ -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 |