[m5-dev] using gdb with memtest-ruby

2009-08-07 Thread Somayeh Sardashti
Hi, 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? Thanks, Somayeh ___ m5-dev mailing list m5-dev@m5sim.org

Re: [m5-dev] using gdb with memtest-ruby

2009-08-07 Thread nathan binkert
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

Re: [m5-dev] using gdb with memtest-ruby

2009-08-07 Thread somayeh
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

Re: [m5-dev] using gdb with memtest-ruby

2009-08-07 Thread Steve Reinhardt
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