From 86b1f9c56c5f48d5347c9a6adfbe72367baaf15b Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Sat, 14 Feb 2009 00:07:51 +0000 Subject: [PATCH] * remote-utils.c (getpkt): Also generate remote-debug information if noack_mode is set. --- gdb/gdbserver/ChangeLog | 5 +++++ gdb/gdbserver/remote-utils.c | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index 30d7e0f0420..70cc4d53232 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,8 @@ +2009-02-14 Pierre Muller + + * remote-utils.c (getpkt): Also generate remote-debug + information if noack_mode is set. + 2009-02-06 Pedro Alves * server.c (handle_query): Report qXfer:siginfo:read and diff --git a/gdb/gdbserver/remote-utils.c b/gdb/gdbserver/remote-utils.c index 52e13fc50ff..c87751664a2 100644 --- a/gdb/gdbserver/remote-utils.c +++ b/gdb/gdbserver/remote-utils.c @@ -823,6 +823,14 @@ getpkt (char *buf) fflush (stderr); } } + else + { + if (remote_debug) + { + fprintf (stderr, "getpkt (\"%s\"); [no ack sent] \n", buf); + fflush (stderr); + } + } return bp - buf; } -- 2.30.2