diff options
Diffstat (limited to 'gdb/infcmd.c')
-rw-r--r-- | gdb/infcmd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/infcmd.c b/gdb/infcmd.c index 38947ca..8190ba3 100644 --- a/gdb/infcmd.c +++ b/gdb/infcmd.c @@ -315,6 +315,10 @@ post_create_inferior (int from_tty) const unsigned solib_add_generation = current_program_space->solib_add_generation; + scoped_restore restore_in_initial_library_scan + = make_scoped_restore (¤t_inferior ()->in_initial_library_scan, + true); + /* Create the hooks to handle shared library load and unload events. */ solib_create_inferior_hook (from_tty); |