ruby: get rid of ruby's Debug.hh
Review Request #367 - Created Jan. 4, 2011 and submitted
| Information | |
|---|---|
| Nathan Binkert | |
| gem5 | |
| Reviewers | |
| Default | |
| ali, gblack, nate, stever | |
ruby: get rid of ruby's Debug.hh Get rid of the Debug class Get rid of ASSERT and use assert Use DPRINTF for ProtocolTrace
This compiles and passes all of the quick regressions, but it would be nice for a Ruby developer to take a look and see if I got rid of any useful functionality.
Posted (Jan. 4, 2011, 8:31 a.m.)
Hi Nate, I have a couple questions: 1. Have you looked at the protocol trace output after your change? Does it look exactly like it did before? It seems that the output should be the same based on my brief inspection of your patch, but I would like to be sure about that. It may not be obvious, but there is a specific rational behind the format of the protocol trace and I want to make sure that stays the same. 2. With your patch applied, what happens if one hits an assert when running interactively? Previously, the process would abort allowing one to attach gdb and examine what is going on. I liked that feature and it would be great if we could maintain it. Could we port that feature to all of M5?
Posted (Jan. 4, 2011, 8:48 a.m.)
-
src/mem/ruby/buffers/MessageBuffer.cc (Diff revision 3) -
Why continue to comment this out?
-
src/mem/ruby/common/Global.cc (Diff revision 3) -
This doesn't seem like a applicable change, also aren't they equivalent?
Posted (Jan. 4, 2011, 11:17 a.m.)
-
src/mem/ruby/network/garnet/flexible-pipeline/GarnetNetwork.cc (Diff revision 3) -
Should this not be converted to DPRINTF()?
