* 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 98d860e..6bc15be 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 dbb9a3d..d2398df 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;
     }