摘要 |
PROBLEM TO BE SOLVED: To provide a memory content rewriting method which can reflect writing to a memory on an instruction cache only by adding a few codes to a program for debugging when a system which debugs an application running on a target from a host alters the contents of the memory registered in the instruction cache. SOLUTION: The contents of the instruction cache are copied to a data cache (S35) and written (S37) to the memory by making the data cache usable in write-through mode (S36) to alter the contents of the data cache; and the altered contents are put back into the instruction cache (S41) to rewrite the contents of the instruction cache memory which normally cannot be rewritten. |