remote: Fix indentation in remote_new_objfile.
[deliverable/binutils-gdb.git] / gdb / infcmd.c
index 38947ca265e84a4a4333c31a1ca2ee57c22fff31..8190ba36565eca56c1942a074af1c05ac30dba21 100644 (file)
@@ -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 (&current_inferior ()->in_initial_library_scan,
+                              true);
+
       /* Create the hooks to handle shared library load and unload
         events.  */
       solib_create_inferior_hook (from_tty);
This page took 0.022682 seconds and 4 git commands to generate.