public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] remote_rcmd
@ 2002-06-26 18:45 Johan Rydberg
  0 siblings, 0 replies; only message in thread
From: Johan Rydberg @ 2002-06-26 18:45 UTC (permalink / raw)
  To: gdb


Hi,

This small patch adds support for receving more that ~200 bytes
of output from the "qRcmd" request (ie the monitor command).

I have no idea if this will break any stubs, but hopefully not.
I don't know how often stubs implement the qRcmd request.

2002-06-27  Johan Rydberg  <jrydberg@rtmk.org>

        * remote.c (remote_rcmd): Continue reading output from
        stub until receiving OK.


Index: remote.c
===================================================================
RCS file: /cvs/src/src/gdb/remote.c,v
retrieving revision 1.87
diff -u -u -r1.87 remote.c
--- remote.c	15 Jun 2002 22:05:32 -0000	1.87
+++ remote.c	27 Jun 2002 01:42:02 -0000
@@ -5210,7 +5210,6 @@
 	  char c = (fromhex (p[0]) << 4) + fromhex (p[1]);
 	  fputc_unfiltered (c, outbuf);
 	}
-      break;
     }
 }

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-27  1:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-26 18:45 [PATCH] remote_rcmd Johan Rydberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).