From mboxrd@z Thu Jan 1 00:00:00 1970 From: Orjan Friberg To: Andrew Cagney Cc: Daniel Jacobowitz , gdb-patches@sources.redhat.com Subject: Re: RFC: Run length encoding bug in remote.c? Date: Fri, 10 Aug 2001 03:14:00 -0000 Message-id: <3B73B3E1.50C5749C@axis.com> References: <3B714363.F2A28837@axis.com> <3B73891D.50209@cygnus.com> <20010810001509.A18544@nevyn.them.org> <3B738CF4.2070007@cygnus.com> X-SW-Source: 2001-08/msg00106.html Andrew Cagney wrote: > > > 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. > > In that case, it should probably also go on the 5.1 branch. > > Andrew Ok, committed to both trunk and branch. Thanks. -- Orjan Friberg E-mail: orjan.friberg@axis.com Axis Communications AB Phone: +46 46 272 17 68