* linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
authorDaniel Jacobowitz <drow@false.org>
Thu, 25 Oct 2007 22:09:34 +0000 (22:09 +0000)
committerDaniel Jacobowitz <drow@false.org>
Thu, 25 Oct 2007 22:09:34 +0000 (22:09 +0000)
gdb/ChangeLog
gdb/linux-thread-db.c

index 98d860e0cd92ccbf2dba50dc384db41ce888f3ec..6bc15bea9dc7901a1ef902d93da218d6149f1769 100644 (file)
@@ -1,3 +1,7 @@
+2007-10-25  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
+
 2007-10-25  Pedro Alves  <pedro_alves@portugalmail.pt>
 
        * memory-map.c (parse_memory_map): Don't use an empty struct
index dbb9a3dbde1e41bf0aed4a8bf633d51fdee18eae..d2398dff929d3fbb91f538e438f214dca39ed87a 100644 (file)
@@ -608,8 +608,9 @@ check_for_thread_db (void)
        /* Paranoid - don't let a NULL path slip through.  */
        library = LIBTHREAD_DB_SO;
 
-      printf_unfiltered (_("Using host libthread_db library \"%s\".\n"),
-                        library);
+      if (info_verbose)
+       printf_unfiltered (_("Using host libthread_db library \"%s\".\n"),
+                          library);
       already_loaded = 1;
     }