Specify a file name using --debug-file option. DPRINTFs should get printed in it.
-Pushkar On May 7, 2014 3:10 AM, "朱朱乐乐 via gem5-users" <[email protected]> wrote: > Hi, > > I am debugging gem5 using gdb and DPRINTF. Since gem5 has wrapped > architecture-relevant C++ code with SWIG, It is hard to debug with gdb. > > I am trying to use DPRINTF in the architecture-relevant C++ code (let's > say cache_impl.hh), but it does not print to the shell during the > simulation. > > What should I do to find my output? > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
