diff options
author | Pedro Alves <palves@redhat.com> | 2016-11-18 00:07:10 +0000 |
---|---|---|
committer | Pedro Alves <palves@redhat.com> | 2016-11-23 01:11:50 +0000 |
commit | 4eefa7bcf286b879f61b9e1ec1c97230f5345104 (patch) | |
tree | 8d5d638852acfdb0d9c440cb63b09e4ead66e63c /gdb/gdbserver/thread-db.c | |
parent | 400b2f29938dab7d9c4f46c9d1b0dc23dab0518b (diff) | |
download | gdb-4eefa7bcf286b879f61b9e1ec1c97230f5345104.zip gdb-4eefa7bcf286b879f61b9e1ec1c97230f5345104.tar.gz gdb-4eefa7bcf286b879f61b9e1ec1c97230f5345104.tar.bz2 |
gdbserver: Use debug_printf for debug output
gdb/gdbserver/ChangeLog:
2016-11-23 Pedro Alves <palves@redhat.com>
* linux-low.c (check_zombie_leaders): Use debug_printf for debug
output.
* notif.c (handle_notif_ack, notif_event_enque): Likewise.
* remote-utils.c (putpkt_binary_1, readchar, getpkt): Use
debug_printf and debug_flush for debug output.
* server.c (handle_general_set): Likewise.
* thread-db.c (try_thread_db_load): Use debug_printf for debug
output.
Diffstat (limited to 'gdb/gdbserver/thread-db.c')
-rw-r--r-- | gdb/gdbserver/thread-db.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gdb/gdbserver/thread-db.c b/gdb/gdbserver/thread-db.c index 0222bfc..2776557 100644 --- a/gdb/gdbserver/thread-db.c +++ b/gdb/gdbserver/thread-db.c @@ -590,8 +590,7 @@ try_thread_db_load (const char *library) const char *const libpath = dladdr_to_soname (td_init); if (libpath != NULL) - fprintf (stderr, "Host %s resolved to: %s.\n", - library, libpath); + debug_printf ("Host %s resolved to: %s.\n", library, libpath); } } #endif |