RFC: Run length encoding bug in remote.c?

Daniel Jacobowitz drow@mvista.com
Fri Aug 10 00:14:00 GMT 2001


On Fri, Aug 10, 2001 at 03:11:25AM -0400, Andrew Cagney wrote:
> > The patch below makes that change.  Though this works (tested with
> > "print *current" in gdb) and looks sensible to me, I have a feeling that
> > this error should show up quite often for other people as well, since it
> > would happen every time the response to an 'm' packet ends with
> > run-length encoding of the data.
> 
> 
> I don't know that many targets use run-length incoding and hence, 
> probably few have noticed the bug.

For reference, and for amusement at the synchronicity, we ran into this
again today on a Hitachi SH firmware stub; I'll second the patch.

-- 
Daniel Jacobowitz                           Carnegie Mellon University
MontaVista Software                         Debian GNU/Linux Developer



More information about the Gdb-patches mailing list