summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-06-19 17:53:10 +0000
committerGabe Black <gblack@eecs.umich.edu>2007-06-19 17:53:10 +0000
commit4486762a8519783aaec7ebe6a391355cd30792e0 (patch)
tree60f8175a8dff8c0a631a99c62092879b5c4d55d8
parentebe4d05f70e2cac823bdbbc1e2060ab507e3e80f (diff)
downloadgem5-4486762a8519783aaec7ebe6a391355cd30792e0.tar.xz
Make an error message a little more descriptive.
--HG-- extra : convert_revision : dbde025b1dcec0083e7276a9938bd21e7ab2887f
-rw-r--r--src/arch/micro_asm.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/micro_asm.py b/src/arch/micro_asm.py
index a8a63e1f8..145029477 100644
--- a/src/arch/micro_asm.py
+++ b/src/arch/micro_asm.py
@@ -131,7 +131,8 @@ def handle_statement(parser, container, statement):
microop = eval('parser.microops[statement.mnemonic](%s)' %
statement.params)
except:
- print_error("Error creating microop object.")
+ print_error("Error creating microop object with mnemonic %s." % \
+ statement.mnemonic)
raise
try:
for label in statement.labels: