Changes in kernel/arch/mips32/src/debugger.c [7e752b2:63bdde6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debugger.c
r7e752b2 r63bdde6 191 191 } 192 192 193 printf("Adding breakpoint on address %p\n", (void *)argv->intval);193 printf("Adding breakpoint on address %p\n", argv->intval); 194 194 195 195 cur->address = (uintptr_t) argv->intval; … … 247 247 smc_coherence(((uint32_t *) cur->address)[1]); 248 248 249 cur->address = (uintptr_t)NULL;249 cur->address = NULL; 250 250 251 251 irq_spinlock_unlock(&bkpoint_lock, true); … … 267 267 breakpoints[i].address); 268 268 269 printf("%-4u %7 zu%p %-8s %-9s %-10s %s\n", i,270 breakpoints[i].counter, (void *)breakpoints[i].address,269 printf("%-4u %7" PRIs " %p %-8s %-9s %-10s %s\n", i, 270 breakpoints[i].counter, breakpoints[i].address, 271 271 ((breakpoints[i].flags & BKPOINT_INPROG) ? "true" : 272 272 "false"), ((breakpoints[i].flags & BKPOINT_ONESHOT) … … 289 289 290 290 for (i = 0; i < BKPOINTS_MAX; i++) 291 breakpoints[i].address = (uintptr_t)NULL;291 breakpoints[i].address = NULL; 292 292 293 293 #ifdef CONFIG_KCONSOLE … … 366 366 367 367 if (!(cur->flags & BKPOINT_FUNCCALL)) { 368 printf("***Breakpoint %u: %p in %s.\n", i, 369 (void *) fireaddr, 368 printf("***Breakpoint %u: %p in %s.\n", i, fireaddr, 370 369 symtab_fmt_name_lookup(fireaddr)); 371 370 } … … 382 381 cur->flags |= BKPOINT_INPROG; 383 382 } else { 384 printf("***Breakpoint %d: %p in %s.\n", i, 385 (void *) fireaddr, 383 printf("***Breakpoint %d: %p in %s.\n", i, fireaddr, 386 384 symtab_fmt_name_lookup(fireaddr)); 387 385 … … 419 417 /* Remove one-shot breakpoint */ 420 418 if ((cur->flags & BKPOINT_ONESHOT)) 421 cur->address = (uintptr_t)NULL;419 cur->address = NULL; 422 420 423 421 /* Remove in-progress flag */
Note:
See TracChangeset
for help on using the changeset viewer.