Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/mips32/src/debugger.c

    r556f9892 re16e0d59  
    164164                        printf("Duplicate breakpoint %d.\n", i);
    165165                        spinlock_unlock(&bkpoint_lock);
    166                         interrupts_restore(ipl);
    167166                        return 0;
    168167                } else if (breakpoints[i].address == (uintptr_t)argv->intval +
     
    172171                            "with %d.\n", i);
    173172                        spinlock_unlock(&bkpoint_lock);
    174                         interrupts_restore(ipl);
    175173                        return 0;
    176174                }
     
    255253{
    256254        unsigned int i;
     255        char *symbol;
    257256       
    258257        printf("#  Count Address    INPROG ONESHOT FUNCCALL In symbol\n");
    259258        printf("-- ----- ---------- ------ ------- -------- ---------\n");
    260259       
    261         for (i = 0; i < BKPOINTS_MAX; i++) {
     260        for (i = 0; i < BKPOINTS_MAX; i++)
    262261                if (breakpoints[i].address) {
    263                         const char *symbol = symtab_fmt_name_lookup(
     262                        symbol = symtab_fmt_name_lookup(
    264263                            breakpoints[i].address);
    265                        
     264
    266265                        printf("%-2u %-5d %#10zx %-6s %-7s %-8s %s\n", i,
    267266                            breakpoints[i].counter, breakpoints[i].address,
     
    271270                            BKPOINT_FUNCCALL) ? "true" : "false"), symbol);
    272271                }
    273         }
    274        
    275272        return 1;
    276273}
Note: See TracChangeset for help on using the changeset viewer.