Re: [Openocd-development] Possible bug in xscale_receive()

2011-10-06 Thread Andreas Fritiofson
On Mon, Sep 19, 2011 at 4:30 PM, Matt Reimer wrote: > The code in xscale_receive() that tries to skip invalid reads (i.e. > reads that don't have the DBG_SR[0] 'valid' bit set) seems to be > wrong, as it only looks at the first word's valid flag rather than > each word's own valid flag. Am I read

[Openocd-development] Possible bug in xscale_receive()

2011-09-19 Thread Matt Reimer
The code in xscale_receive() that tries to skip invalid reads (i.e. reads that don't have the DBG_SR[0] 'valid' bit set) seems to be wrong, as it only looks at the first word's valid flag rather than each word's own valid flag. Am I reading the code correctly? If so, the attached patch should fix i