aboutsummaryrefslogtreecommitdiff
path: root/gdb/gdbserver/notif.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/gdbserver/notif.c')
-rw-r--r--gdb/gdbserver/notif.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/gdbserver/notif.c b/gdb/gdbserver/notif.c
index 9455167..342f07b 100644
--- a/gdb/gdbserver/notif.c
+++ b/gdb/gdbserver/notif.c
@@ -104,8 +104,8 @@ handle_notif_ack (char *own_buf, int packet_len)
= QUEUE_deque (notif_event_p, np->queue);
if (remote_debug)
- fprintf (stderr, "%s: acking %d\n", np->ack_name,
- QUEUE_length (notif_event_p, np->queue));
+ debug_printf ("%s: acking %d\n", np->ack_name,
+ QUEUE_length (notif_event_p, np->queue));
xfree (head);
}
@@ -124,8 +124,8 @@ notif_event_enque (struct notif_server *notif,
QUEUE_enque (notif_event_p, notif->queue, event);
if (remote_debug)
- fprintf (stderr, "pending events: %s %d\n", notif->notif_name,
- QUEUE_length (notif_event_p, notif->queue));
+ debug_printf ("pending events: %s %d\n", notif->notif_name,
+ QUEUE_length (notif_event_p, notif->queue));
}