[svn:parrot] r45324 - in trunk: src/runcore t/op

NotFound at svn.parrot.org NotFound at svn.parrot.org
Tue Mar 30 17:06:22 UTC 2010


Author: NotFound
Date: Tue Mar 30 17:06:22 2010
New Revision: 45324
URL: https://trac.parrot.org/parrot/changeset/45324

Log:
print trace offsets in hexadecimal, TT #1430

Modified:
   trunk/src/runcore/trace.c
   trunk/t/op/interp.t

Modified: trunk/src/runcore/trace.c
==============================================================================
--- trunk/src/runcore/trace.c	Tue Mar 30 16:45:07 2010	(r45323)
+++ trunk/src/runcore/trace.c	Tue Mar 30 17:06:22 2010	(r45324)
@@ -289,7 +289,7 @@
     sig = NULL; /* silence compiler uninit warning */
 
     s = 1;
-    len = Parrot_io_eprintf(debugger, "%6vu ", (UINTVAL)(pc - code_start));
+    len = Parrot_io_eprintf(debugger, "%04vx ", (UINTVAL)(pc - code_start));
     len += Parrot_io_eprintf(debugger, "%s", info->name);
 
     n = info->op_count;

Modified: trunk/t/op/interp.t
==============================================================================
--- trunk/t/op/interp.t	Tue Mar 30 16:45:07 2010	(r45323)
+++ trunk/t/op/interp.t	Tue Mar 30 17:06:22 2010	(r45324)
@@ -81,8 +81,8 @@
     end
 CODE
 /^ok\s1\n
-(?:\s+8.*)?\n
-(?:\s+10.*)?\n
+(?:0+8.*)?\n
+(?:0+a.*)?\n
 ok\s2\n$/x
 OUTPUT
 


More information about the parrot-commits mailing list