150c150
< MipsLiveProcess::getSyscallArg(ThreadContext *tc, int i)
---
> MipsLiveProcess::getSyscallArg(ThreadContext *tc, int &i)
153c153
< return tc->readIntReg(FirstArgumentReg + i);
---
> return tc->readIntReg(FirstArgumentReg + i++);