Automatic date update in version.in
[deliverable/binutils-gdb.git] / gdb / inferior.c
index 250603c85cc94508c3d0e191abce4d6d7bfb0f92..92a18d66274d7ae5cb82cfffb20ded6179711b2c 100644 (file)
@@ -854,8 +854,12 @@ add_inferior_command (char *args, int from_tty)
   int i, copies = 1;
   char *exec = NULL;
   char **argv;
+  symfile_add_flags add_flags = 0;
   struct cleanup *old_chain = make_cleanup (null_cleanup, NULL);
 
+  if (from_tty)
+    add_flags |= SYMFILE_VERBOSE;
+
   if (args)
     {
       argv = gdb_buildargv (args);
@@ -903,7 +907,7 @@ add_inferior_command (char *args, int from_tty)
          switch_to_thread (null_ptid);
 
          exec_file_attach (exec, from_tty);
-         symbol_file_add_main (exec, from_tty);
+         symbol_file_add_main (exec, add_flags);
        }
     }
 
This page took 0.023201 seconds and 4 git commands to generate.