mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 01:07:52 +00:00
* solib-osf.c (osf_solib_create_inferior_hook): Do nothing if
the target cannot run.
This commit is contained in:
@@ -321,7 +321,14 @@ osf_solib_create_inferior_hook (void)
|
||||
/* Now run the target. It will eventually get a SIGTRAP, at
|
||||
which point all of the libraries will have been mapped in and we
|
||||
can go groveling around in the rld structures to find
|
||||
out what we need to know about them. */
|
||||
out what we need to know about them.
|
||||
|
||||
If debugging from a core file, we cannot resume the execution
|
||||
of the inferior. But this is actually not an issue, because
|
||||
shared libraries have already been mapped anyways, which means
|
||||
we have nothing more to do. */
|
||||
if (!target_can_run (¤t_target))
|
||||
return;
|
||||
|
||||
clear_proceed_status ();
|
||||
stop_soon = STOP_QUIETLY;
|
||||
|
||||
Reference in New Issue
Block a user