From 8f13689556351fa7669cb12ed0124167df433d0f Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Thu, 25 Oct 2007 22:09:34 +0000 Subject: [PATCH] * linux-thread-db.c (check_for_thread_db): Only print if info_verbose. --- gdb/ChangeLog | 4 ++++ gdb/linux-thread-db.c | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 98d860e0cd9..6bc15bea9dc 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2007-10-25 Daniel Jacobowitz + + * linux-thread-db.c (check_for_thread_db): Only print if info_verbose. + 2007-10-25 Pedro Alves * memory-map.c (parse_memory_map): Don't use an empty struct diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c index dbb9a3dbde1..d2398dff929 100644 --- a/gdb/linux-thread-db.c +++ b/gdb/linux-thread-db.c @@ -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; } -- 2.30.2