Consolidate psymtab "Reading" messages
[deliverable/binutils-gdb.git] / gdb / psymtab.c
index 6a2f7f7202a07b2454e606f9fa6087c312f5f53f..6abc829e2ee0a41067efebc98306a24c7fdcfbc6 100644 (file)
@@ -758,7 +758,18 @@ psymtab_to_symtab (struct objfile *objfile, struct partial_symtab *pst)
     {
       scoped_restore decrementer = increment_reading_symtab ();
 
+      if (info_verbose)
+       {
+         printf_filtered (_("Reading in symbols for %s..."),
+                          pst->filename);
+         gdb_flush (gdb_stdout);
+       }
+
       pst->read_symtab (objfile);
+
+      /* Finish up the debug error message.  */
+      if (info_verbose)
+       printf_filtered (_("done.\n"));
     }
 
   return pst->compunit_symtab;
This page took 0.026316 seconds and 4 git commands to generate.