initiateAcc looks something like the following: Fault initiateAcc(..., traceData,...) { ... write(); <<< traceData becomes invalid in here if (traceData) traceData->setData(Mem); ... }
so I'm not sure how that would work. Gabe Quoting nathan binkert <n...@binkert.org>: >> 7. initiateAcc uses its local (and now invalid) copy of the traceData >> pointer to store the result of the instruction executing. > What if you just read this pointer again and not store a local copy? > > > Nate > _______________________________________________ > m5-dev mailing list > m5-dev@m5sim.org > http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev