This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] remote_rcmd


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;
     }
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]