From: Brad Beckmann Date: Sat, 30 Jan 2010 04:29:34 +0000 (-0800) Subject: ruby: Replaced gems_common debug statements X-Git-Tag: stable_2012_02_02~1519 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ceae8383ffeebdc2c12d9a383941c62653471de1;p=gem5.git ruby: Replaced gems_common debug statements Replaced Ruby debug statements with M5 statements. --- diff --git a/src/mem/gems_common/Allocator.hh b/src/mem/gems_common/Allocator.hh index 58bdabee2..59c5a4c98 100644 --- a/src/mem/gems_common/Allocator.hh +++ b/src/mem/gems_common/Allocator.hh @@ -60,7 +60,7 @@ inline TYPE* Allocator::allocate(const TYPE& obj) { m_counter++; - DEBUG_EXPR(ALLOCATOR_COMP, LowPrio, m_counter); + DPRINTF(GemsCommon, "couter %d", m_counter); TYPE* new_obj_ptr; // See if we need to allocate any new objects diff --git a/src/mem/gems_common/SConscript b/src/mem/gems_common/SConscript index 69e7f88a3..1f3032646 100644 --- a/src/mem/gems_common/SConscript +++ b/src/mem/gems_common/SConscript @@ -43,3 +43,5 @@ benv.CXXFile('ioutil/attrparse.yy') Source('ioutil/attrlex.cc', Werror=False) Source('ioutil/attrparse.cc', Werror=False) Source('util.cc') + +TraceFlag('GemsCommon')