aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2007-10-25 22:09:34 +0000
committerDaniel Jacobowitz <drow@false.org>2007-10-25 22:09:34 +0000
commit8f13689556351fa7669cb12ed0124167df433d0f (patch)
tree2f485aaa851d2ebf4ea8cf58f20b65d8e52bc6c3 /gdb
parentf6071bfaa3b8a4489a68d5375e3a959d29855ede (diff)
downloadgdb-8f13689556351fa7669cb12ed0124167df433d0f.zip
gdb-8f13689556351fa7669cb12ed0124167df433d0f.tar.gz
gdb-8f13689556351fa7669cb12ed0124167df433d0f.tar.bz2
* linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/linux-thread-db.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 98d860e..6bc15be 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -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
diff --git a/gdb/linux-thread-db.c b/gdb/linux-thread-db.c
index dbb9a3d..d2398df 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;
}