slicc: improved invalid transition message
authorBrad Beckmann <Brad.Beckmann@amd.com>
Sat, 19 Mar 2011 21:17:48 +0000 (14:17 -0700)
committerBrad Beckmann <Brad.Beckmann@amd.com>
Sat, 19 Mar 2011 21:17:48 +0000 (14:17 -0700)
src/mem/slicc/symbols/StateMachine.py

index 5be9b4ced337c2c5e94b9ad33e09011ea6d0e45a..fb7556fdd6bc4a287e51c8c913ae5301916006e1 100644 (file)
@@ -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;
 }