Fix printfs with too few or too many parms, remove unused vars, fix incorrect flag tests, other code cleanup.

This commit is contained in:
Kees van Reeuwijk
2010-04-01 13:25:05 +00:00
parent c3f649557e
commit fc7dced1fa
59 changed files with 127 additions and 222 deletions

View File

@@ -49,7 +49,7 @@ printf("ld_dr7(0x%x)\n",dr7);
case 3: ld_dr3(linaddr); break;
default: panic(__FILE__, "invalid breakpoint index", __LINE__);
}
printf("ld_dr%d(0x%x, 0x%x)\n",bp,linaddr);
printf("ld_dr%d(0x%x)\n",bp,linaddr);
/* set new flags */
dr7 |= dr7flags;