Bug in src/target/mips32_pracc.c
commit1274df07f128e97cc75f68b24303ebcfe440ddde
authorSalvador <sarroyofdez@yahoo.es>
Sat, 17 Mar 2012 08:25:23 +0000 (17 09:25 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 30 Mar 2012 15:50:55 +0000 (30 15:50 +0000)
treef960f3226723a0a761a1a24c35790f2c179df031
parentf1c0133321c8fcadadd10bba5537c0a634eb183b
Bug in src/target/mips32_pracc.c

The bug shows up with the command "mdw addres count" and only if count>1024 (count>0x400).
The first 1024 values shows as expected, but the rest of the values  are wrong.
Name of variable  bytesread" is changed to "wordsread" to reflect what really does.

Change-Id: Iad79393e72da2637551c5ae6e829e3873605c520
Signed-off-by: Salvador <sarroyofdez@yahoo.es>
Reviewed-on: http://openocd.zylin.com/527
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/target/mips32_pracc.c