Review Board 2.0.15


Moving Ruby to M5's debug print support

Review Request #277 - Created Oct. 17, 2010 and submitted

Information
Nilay Vaish
gem5
Reviewers
Default, Ruby
Ruby currently uses GEMS debug support with the enum character string map to enable certain debug messages.  Meanwhile, M5 has debug print support that works with scons. Compiling the m5.fast binary, the M5 debug statements are removed, but the Ruby ones are not unless RUBY_DEBUG is not defined. This patch moves Ruby to M5's debug print support.

   
Review request changed
Updated (Oct. 26, 2010, 3:17 a.m.)

Change Summary:

I have condensed a couple of lines that were more than 80 characters in length. I had failed to add '\n' in the DPRINTF() calls. So that has been fixed as well.
Brad, though the programmer needs to specify the trace flag, SLICC compiler would still output RubySlicc as the trace flag.
Nate, I will go through the added trace flags later and will see which one of them should exist and with what names. Currently, I had simple converted the components that were defined in Ruby.

Diff:

Revision 5 (+284 -394)

Show changes