diff options
author | Pierre Muller <muller@sourceware.org> | 2009-02-14 00:07:51 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2009-02-14 00:07:51 +0000 |
commit | 86b1f9c56c5f48d5347c9a6adfbe72367baaf15b (patch) | |
tree | 577ba083b420fdf5afe0e809d96277fd047f56ce | |
parent | 1a779e2cb010bd13f2ac9b59dfa5ea716a809a80 (diff) | |
download | gdb-86b1f9c56c5f48d5347c9a6adfbe72367baaf15b.zip gdb-86b1f9c56c5f48d5347c9a6adfbe72367baaf15b.tar.gz gdb-86b1f9c56c5f48d5347c9a6adfbe72367baaf15b.tar.bz2 |
* remote-utils.c (getpkt): Also generate remote-debug
information if noack_mode is set.
-rw-r--r-- | gdb/gdbserver/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/gdbserver/remote-utils.c | 8 |
2 files changed, 13 insertions, 0 deletions
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 <muller@ics.u-strasbg.fr> + + * remote-utils.c (getpkt): Also generate remote-debug + information if noack_mode is set. + 2009-02-06 Pedro Alves <pedro@codesourcery.com> * 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; } |