Changes in kernel/generic/src/debug/symtab.c [0dee005:137691a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/debug/symtab.c
r0dee005 r137691a 54 54 * 55 55 */ 56 int symtab_name_lookup(uintptr_t addr, c har **name, uintptr_t *offset)56 int symtab_name_lookup(uintptr_t addr, const char **name, uintptr_t *offset) 57 57 { 58 58 #ifdef CONFIG_SYMTAB … … 92 92 * 93 93 */ 94 c har *symtab_fmt_name_lookup(uintptr_t addr)95 { 96 c har *name;94 const char *symtab_fmt_name_lookup(uintptr_t addr) 95 { 96 const char *name; 97 97 int rc = symtab_name_lookup(addr, &name, NULL); 98 98 … … 239 239 printf("\n"); 240 240 pos = 0; 241 while ( (hint = symtab_search_one(name, &pos))) {241 while (symtab_search_one(name, &pos)) { 242 242 printf("%s\n", symbol_table[pos].symbol_name); 243 243 pos++;
Note:
See TracChangeset
for help on using the changeset viewer.