The reason you don't get the error with m5.fast is because m5.fast compiles out assertions. The issue is still there. (In general I like to run regressions with m5.opt rather than m5.fast for this reason.)
Using gdb is easy if you run m5 directly and not via the scons regression framework (which is really only designed for regressions and not for running m5 in general). Look for the full command line that the regression uses, then instead of % build/ALPHA_SE/m5.debug arg1 arg2 etc. do % gdb build/ALPHA_SE/m5.debug [...] (gdb) cd ../.. (get back to top-level dir from build/ALPHA_SE) (gdb) run arg1 arg2 etc. Steve On Fri, Aug 7, 2009 at 2:03 PM, <[email protected]> wrote: > Hi, > When I run the debug version, it returns this error: > > m5.debug: build/ALPHA_SE/mem/ruby/eventqueue/RubyEventQueue.cc:79: void > RubyEventQueue::scheduleEventAbsolute(Consumer*, Time): Assertion `timeAbs >> m_globalTime' failed. > Program aborted at cycle 256 > > I did not have this problem when I was running the fast version. What do > timeAbs and m_globalTime mean? I checked they are equal now. > > Also, I do not know how I can use gdb with M5, > I used: scons > build/ALPHA_SE/tests/fast/quick/50.memtest/alpha/linux/memtest-ruby > > Thanks, > Somayeh > >>> I really need to use a debugging tool like gdb, but it seems that it >>> just work with m5.debug. >>> scons run memtest-ruby with m5.fast, how can I make it use m5.debug? >> >> In your scons target, you must have the word fast in there somewhere. >> If you replace it with debug, it should work. If this doesn't make >> sense, you're gonig to need to give us more information. What are the >> exact command lines you're using to build and run m5, and what are the >> error messages (if any) you're getting. >> >> >> Nate >> _______________________________________________ >> m5-dev mailing list >> [email protected] >> http://m5sim.org/mailman/listinfo/m5-dev >> > > > _______________________________________________ > m5-dev mailing list > [email protected] > http://m5sim.org/mailman/listinfo/m5-dev > _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
