]> Zhao Yanbai Git Server - minix.git/commitdiff
Remove debug printfs in breakpoints.c, they should never have been there
authorErik van der Kouwe <erik@minix3.org>
Tue, 27 Apr 2010 12:25:04 +0000 (12:25 +0000)
committerErik van der Kouwe <erik@minix3.org>
Tue, 27 Apr 2010 12:25:04 +0000 (12:25 +0000)
kernel/arch/i386/breakpoints.c

index 2863a90f94da50f0083a9910be25c41388517a14..28c5a03c69778fce960eaa65fab2b5e2ff3134ff 100644 (file)
@@ -34,7 +34,6 @@ PRIVATE int breakpoint_set(phys_bytes linaddr, int bp, const int flags)
        /* disable breakpoint before setting address */
        dr7 = st_dr7();
        dr7 &= ~(DR7_L(bp) | DR7_G(bp) | DR7_RW_MASK(bp) | DR7_LN_MASK(bp));
-printf("ld_dr7(0x%x)\n",dr7);
        ld_dr7(dr7);
 
        /* need to set new breakpoint? */       
@@ -49,12 +48,10 @@ printf("ld_dr7(0x%x)\n",dr7);
                case 3: ld_dr3(linaddr); break;
                default: panic("%s:%d: invalid breakpoint index", __FILE__,  __LINE__);
        }
-printf("ld_dr%d(0x%x)\n",bp,linaddr);
        
        /* set new flags */
        dr7 |= dr7flags;
        ld_dr7(dr7);
-printf("ld_dr7(0x%x)\n",dr7);
        return 0;
 }