Hello

If i try the command  " mdw addr n " with n greater than 1024 the data 
displayed is wrong from 1025 onward.



The bug is located in mips32_pracc.c, in function mips32_pracc_read_mem32


About line 364:


                 count -= blocksize;
                 addr += blocksize;
                 bytesread += blocksize;


Should be:

                 count -= blocksize;
                 addr += blocksize * sizeof(uint32_t);
                 bytesread += blocksize;



" bytesread "  is a variable that counts words.... A little confusing, 
isn't it?


Thanks
Salvador.

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to