From: Brad Beckmann Date: Sat, 19 Mar 2011 21:17:48 +0000 (-0700) Subject: slicc: improved invalid transition message X-Git-Tag: stable_2012_02_02~465 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=08d73529bc17b4da75488346485dabbb25a3d59f;p=gem5.git slicc: improved invalid transition message --- diff --git a/src/mem/slicc/symbols/StateMachine.py b/src/mem/slicc/symbols/StateMachine.py index 5be9b4ced..fb7556fdd 100644 --- a/src/mem/slicc/symbols/StateMachine.py +++ b/src/mem/slicc/symbols/StateMachine.py @@ -1232,8 +1232,8 @@ if (!%s.areNSlotsAvailable(%s)) code(''' default: fatal("Invalid transition\\n" - "version: %d time: %d addr: %s event: %s state: %s\\n", - m_version, g_eventQueue_ptr->getTime(), addr, event, state); + "%s time: %d addr: %s event: %s state: %s\\n", + name(), g_eventQueue_ptr->getTime(), addr, event, state); } return TransitionResult_Valid; }