summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2008-10-09 00:05:39 -0700
committerGabe Black <gblack@eecs.umich.edu>2008-10-09 00:05:39 -0700
commite1b306fa537bd8fba4c522ee313a2915f7daec61 (patch)
treed9c819c6a512b10ed63725ce952e963f29f5e97b /src/arch
parent569db520ad69bc8b3f506accb0a86d1e519e63ad (diff)
downloadgem5-e1b306fa537bd8fba4c522ee313a2915f7daec61.tar.xz
X86: Fix the debugging microops. The debug functions can't handle a string object format.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/isa/microops/debug.isa2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86/isa/microops/debug.isa b/src/arch/x86/isa/microops/debug.isa
index 7456b0d4e..895e97199 100644
--- a/src/arch/x86/isa/microops/debug.isa
+++ b/src/arch/x86/isa/microops/debug.isa
@@ -104,7 +104,7 @@ def template MicroDebugExecute {{
%(op_decl)s
%(op_rd)s
if (%(cond_test)s) {
- %(func)s(message + "\n");
+ %(func)s("%s\n", message);
}
return NoFault;
}