From: Erik van der Kouwe Date: Tue, 27 Apr 2010 12:25:04 +0000 (+0000) Subject: Remove debug printfs in breakpoints.c, they should never have been there X-Git-Tag: v3.1.7~117 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/Bv9ARM.ch05.html?a=commitdiff_plain;h=4bddc574778d87f20f1717e7f234da861b5e8340;p=minix.git Remove debug printfs in breakpoints.c, they should never have been there --- diff --git a/kernel/arch/i386/breakpoints.c b/kernel/arch/i386/breakpoints.c index 2863a90f9..28c5a03c6 100644 --- a/kernel/arch/i386/breakpoints.c +++ b/kernel/arch/i386/breakpoints.c @@ -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; }