]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disable debug printing by default so we have any hope of getting
authorJulian Seward <jseward@acm.org>
Thu, 23 Jun 2005 22:37:56 +0000 (22:37 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 23 Jun 2005 22:37:56 +0000 (22:37 +0000)
regtest passes on ppc32-linux.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@4007

coregrind/m_main.c

index e4f5f35cdb838f6d5543eb8ce0c95319c97746fd..242818e1e3612065b93a576cce7be0ff7132db30 100644 (file)
@@ -195,12 +195,13 @@ static int scan_auxv(void* init_sp)
       case AT_DCACHEBSIZE:
       case AT_ICACHEBSIZE:
       case AT_UCACHEBSIZE:
-       VG_(debugLog)(0, "main", "PPC32 cache line size %lu (type %lu)\n", 
-             auxv->u.a_val, auxv->a_type );
+         VG_(debugLog)(1, "main", "PPC32 cache line size %u (type %u)\n", 
+                          (UInt)auxv->u.a_val, (UInt)auxv->a_type );
          if (auxv->u.a_val)
             VG_(cache_line_size) = auxv->u.a_val;
- // XXX: Nasty hack to stop use of badly implemented cache-control instns in vex
- auxv->u.a_val = 0;
+         // XXX: Nasty hack to stop use of badly implemented
+         // cache-control instns in vex (dcbz)
+         auxv->u.a_val = 0;
          break;
 
       case AT_HWCAP: