remote.c patch
Quality Quorum
qqi@world.std.com
Mon Dec 6 07:36:00 GMT 1999
On Mon, 6 Dec 1999, Andrew Cagney wrote:
> > ***************
> > *** 4385,4393 ****
> > if (strcmp (buf, "OK") == 0)
> > break;
> > ! if (strlen (buf) == 3 && buf[0] == 'E'
> > ! && isdigit (buf[1]) && isdigit (buf[2]))
> > {
> > error ("Protocol error with Rcmd");
> > }
> > for (p = buf; p[0] != '\0' && p[1] != '\0'; p += 2)
> > {
> > --- 4536,4545 ----
> > if (strcmp (buf, "OK") == 0)
> > break;
> > !
> > ! if (buf[0] == 'E')
> > {
> > error ("Protocol error with Rcmd");
> > }
> > +
> > for (p = buf; p[0] != '\0' && p[1] != '\0'; p += 2)
> > {
> > ***************
>
> A two hex-digit response with digit ``E'' is valid. That is why the code
> had such a complicated check.
Thanks, is it possible to get a pointer to where recent additions
are described ?
BTW, was it possible to pick up another character beside 'E' ? :)
>
> Andrew
>
Thanks,
Aleksey
More information about the Gdb
mailing list