diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2011-03-19 14:17:48 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2011-03-19 14:17:48 -0700 |
commit | 08d73529bc17b4da75488346485dabbb25a3d59f (patch) | |
tree | 376d9e7e665d73251a42a81a92fea3153907fc53 /src/mem/slicc/symbols | |
parent | 31d0a421a98e0546deff1c691b1b4e0d23d6cbe5 (diff) | |
download | gem5-08d73529bc17b4da75488346485dabbb25a3d59f.tar.xz |
slicc: improved invalid transition message
Diffstat (limited to 'src/mem/slicc/symbols')
-rw-r--r-- | src/mem/slicc/symbols/StateMachine.py | 4 |
1 files 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; } |