libthread_db: debug output should go to gdb_stdlog
authorPedro Alves <palves@redhat.com>
Tue, 16 Dec 2014 16:12:23 +0000 (16:12 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 9 Jan 2015 11:25:25 +0000 (11:25 +0000)
commit883ed13e4af121e28de1c0df70a8d66d94a8bc7b
treebd39bee4160a845bf518e036c2c45ba3bc1904c7
parent60b3033e6e2936af6fcc37cf67cade99a89940ad
libthread_db: debug output should go to gdb_stdlog

Some debug output in linux-thread-db.c was being sent to gdb_stdout,
and some to gdb_stderr, while the right place to send debug output to is
gdb_stdlog.

gdb/
2015-01-09  Pedro Alves  <palves@redhat.com>

* linux-thread-db.c (thread_db_find_new_threads_silently)
(try_thread_db_load_1, try_thread_db_load, thread_db_load_search)
(find_new_threads_once): Print debug output on gdb_stdlog.
gdb/ChangeLog
gdb/linux-thread-db.c