Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/debug/symtab.c

    r137691a r0dee005  
    5454 *
    5555 */
    56 int symtab_name_lookup(uintptr_t addr, const char **name, uintptr_t *offset)
     56int symtab_name_lookup(uintptr_t addr, char **name, uintptr_t *offset)
    5757{
    5858#ifdef CONFIG_SYMTAB
     
    9292 *
    9393 */
    94 const char *symtab_fmt_name_lookup(uintptr_t addr)
    95 {
    96         const char *name;
     94char *symtab_fmt_name_lookup(uintptr_t addr)
     95{
     96        char *name;
    9797        int rc = symtab_name_lookup(addr, &name, NULL);
    9898       
     
    239239                printf("\n");
    240240                pos = 0;
    241                 while (symtab_search_one(name, &pos)) {
     241                while ((hint = symtab_search_one(name, &pos))) {
    242242                        printf("%s\n", symbol_table[pos].symbol_name);
    243243                        pos++;
Note: See TracChangeset for help on using the changeset viewer.