X86: Fix the debugging microops. The debug functions can't handle a string object...
authorGabe Black <gblack@eecs.umich.edu>
Thu, 9 Oct 2008 07:05:39 +0000 (00:05 -0700)
committerGabe Black <gblack@eecs.umich.edu>
Thu, 9 Oct 2008 07:05:39 +0000 (00:05 -0700)
src/arch/x86/isa/microops/debug.isa

index 7456b0d4e12b3ea80f4bfea56f6e9ab654fc8538..895e971998a0e5daaeed14e551dd89aa87de6fd1 100644 (file)
@@ -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;
         }