summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Beckmann <Brad.Beckmann@amd.com>2011-03-19 14:17:48 -0700
committerBrad Beckmann <Brad.Beckmann@amd.com>2011-03-19 14:17:48 -0700
commit08d73529bc17b4da75488346485dabbb25a3d59f (patch)
tree376d9e7e665d73251a42a81a92fea3153907fc53
parent31d0a421a98e0546deff1c691b1b4e0d23d6cbe5 (diff)
downloadgem5-08d73529bc17b4da75488346485dabbb25a3d59f.tar.xz
slicc: improved invalid transition message
-rw-r--r--src/mem/slicc/symbols/StateMachine.py4
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;
}