i didn't get u , u mean to say which of these are invalid right? Then the function is taking Blocktype *&blk
i have tried with (&block)-> set and all if i am not wrong ? On Thu, Feb 3, 2011 at 10:30 PM, Nilay Vaish <[email protected]> wrote: > On Thu, 3 Feb 2011, biswabandan panda wrote: > > hi all, >> i have changed these two lines in cache_impl.hh to get the >> traces for address of the block and set no instead of packet->address >> only. >> >> lines 326-328 >> >> >> DPRINTF(Cache, "%s%s %x %d %x %s\n", pkt->cmdString(), >> pkt->req->isInstFetch() ? " (ifetch)" : "", >> blk->set, tags->regenerateBlkAddr(blk->tag, blk->set),(blk) ? >> "hit" : "miss"); >> >> i am able to build it without errors and its running fine but when i am >> specifying trace-flag Cache, its showing segmentation fault. i tried gdb >> and >> all, but yet to figure it out >> >> > Which of these pointers in invalid? > > -- > Nilay > _______________________________________________ > m5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/m5-users > -- *thanks®ards * *BISWABANDAN PANDA* *M.S.(RESEARCH SCHOLAR)* *RISE LAB* *IIT MADRAS* http://www.cse.iitm.ac.in/~biswa/ <http://www.cse.iitm.ac.in/%7Ebiswa/>
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
