Changes in kernel/arch/mips32/src/debugger.c [556f9892:e16e0d59] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debugger.c
r556f9892 re16e0d59 164 164 printf("Duplicate breakpoint %d.\n", i); 165 165 spinlock_unlock(&bkpoint_lock); 166 interrupts_restore(ipl);167 166 return 0; 168 167 } else if (breakpoints[i].address == (uintptr_t)argv->intval + … … 172 171 "with %d.\n", i); 173 172 spinlock_unlock(&bkpoint_lock); 174 interrupts_restore(ipl);175 173 return 0; 176 174 } … … 255 253 { 256 254 unsigned int i; 255 char *symbol; 257 256 258 257 printf("# Count Address INPROG ONESHOT FUNCCALL In symbol\n"); 259 258 printf("-- ----- ---------- ------ ------- -------- ---------\n"); 260 259 261 for (i = 0; i < BKPOINTS_MAX; i++) {260 for (i = 0; i < BKPOINTS_MAX; i++) 262 261 if (breakpoints[i].address) { 263 const char *symbol = symtab_fmt_name_lookup(262 symbol = symtab_fmt_name_lookup( 264 263 breakpoints[i].address); 265 264 266 265 printf("%-2u %-5d %#10zx %-6s %-7s %-8s %s\n", i, 267 266 breakpoints[i].counter, breakpoints[i].address, … … 271 270 BKPOINT_FUNCCALL) ? "true" : "false"), symbol); 272 271 } 273 }274 275 272 return 1; 276 273 }
Note:
See TracChangeset
for help on using the changeset viewer.