From 08d73529bc17b4da75488346485dabbb25a3d59f Mon Sep 17 00:00:00 2001 From: Brad Beckmann Date: Sat, 19 Mar 2011 14:17:48 -0700 Subject: slicc: improved invalid transition message --- src/mem/slicc/symbols/StateMachine.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- cgit v1.2.3