From: Pierre Muller Date: Sat, 14 Feb 2009 00:07:51 +0000 (+0000) Subject: * remote-utils.c (getpkt): Also generate remote-debug X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=86b1f9c56c5f48d5347c9a6adfbe72367baaf15b;p=binutils-gdb.git * remote-utils.c (getpkt): Also generate remote-debug information if noack_mode is set. --- 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; }