Ticket #2505: remove-valgrind.diff

File remove-valgrind.diff, 600 bytes (added by shadow@…, 20 years ago)

temporary fix for cvs issue for pearpc

  • src/cpu/cpu_generic/ppc_alu.cc

    RCS file: /cvsroot/pearpc/pearpc/src/cpu/cpu_generic/ppc_alu.cc,v
    retrieving revision 1.3
    diff -u -r1.3 ppc_alu.cc
     
    424424        sint32 a = gCPU.gpr[rA];
    425425        sint32 b = imm;
    426426        uint32 c;
     427#if 0
    427428        if (!VALGRIND_CHECK_READABLE(a, sizeof a)) {
    428429                ht_printf("%08x <--i\n", gCPU.pc);
    429430//              SINGLESTEP("");
    430431        }
     432#endif
    431433        if (a < b) {
    432434                c = 8;
    433435        } else if (a > b) {