From 4eefa7bcf286b879f61b9e1ec1c97230f5345104 Mon Sep 17 00:00:00 2001 From: Pedro Alves Date: Fri, 18 Nov 2016 00:07:10 +0000 Subject: gdbserver: Use debug_printf for debug output gdb/gdbserver/ChangeLog: 2016-11-23 Pedro Alves * 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. --- gdb/gdbserver/thread-db.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gdb/gdbserver/thread-db.c') 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 -- cgit v1.1