From: Pierre Muller Date: Sat, 14 Feb 2009 00:07:51 +0000 (+0000) Subject: * remote-utils.c (getpkt): Also generate remote-debug X-Git-Tag: sid-snapshot-20090301~116 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86b1f9c56c5f48d5347c9a6adfbe72367baaf15b;p=external%2Fbinutils.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 30d7e0f..70cc4d5 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 52e13fc..c877516 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; }