diff options
author | Daniel Jacobowitz <dan@debian.org> | 2007-10-25 22:09:34 +0000 |
---|---|---|
committer | Daniel Jacobowitz <dan@debian.org> | 2007-10-25 22:09:34 +0000 |
commit | 415a76d7970463e6918db123b25e3925974b5efd (patch) | |
tree | 1f3234f7b9103c06b31c7cca94654a7a87b8f19f | |
parent | 21068c347a3d517f9780d727423464f233335c22 (diff) | |
download | gdb-415a76d7970463e6918db123b25e3925974b5efd.tar.gz |
* linux-thread-db.c (check_for_thread_db): Only print if info_verbose.
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <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 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; } |