xcore: turn off doing_mem after each printing each instruction. this fixes a memory corruption reported by @felixgr

This commit is contained in:
Nguyen Anh Quynh 2015-06-05 18:06:22 +08:00
parent 1ea95a15ed
commit 7c2f5b615a
1 changed files with 1 additions and 0 deletions

View File

@ -257,6 +257,7 @@ static void printInlineJT32(MCInst *MI, int OpNum, SStream *O)
void XCore_printInst(MCInst *MI, SStream *O, void *Info)
{
printInstruction(MI, O, Info);
set_mem_access(MI, false, 0);
}
#endif