Sorry but I forgot the mention, I was trying to debug in MESI_CMP_directory-*.sm. There seems no header including needed. So I only modified the SConscript file as well as my own DPRINTF in *.sm.
Thanks, Yingying On Fri, Oct 12, 2012 at 1:37 PM, Cookie <cookie.yingy...@gmail.com> wrote: > To whom it may concern, > > I have a question related to debugging in Gem5. I tried to debug using > DPRINTF in ruby. As instructed in (http://gem5.org/Debugging), I added my > own debug flag 'RubyMyCache' in src/mem/SConscript. Then I compiled the > m5.debug and ran it with --debug-flags=RubyMyCache. However the expected > output wasn't printed out. But when I add an original debug flag, e.g. > RubySlicc (--debug-flags=RubySlicc, RubyMyCache), output from both of them > were printed out. So I wonder if there is anything I should have done? For > example, any additional files should I create, related to RubyMyCache? > > > Thanks, > Yingying >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users