Changes in kernel/generic/src/debug/symtab.c [d99c1d2:0dee005] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/debug/symtab.c
rd99c1d2 r0dee005 38 38 #include <symtab.h> 39 39 #include <byteorder.h> 40 #include <str .h>40 #include <string.h> 41 41 #include <print.h> 42 #include < typedefs.h>42 #include <arch/types.h> 43 43 #include <typedefs.h> 44 44 #include <errno.h> … … 54 54 * 55 55 */ 56 int symtab_name_lookup(uintptr_t addr, c onst char **name, uintptr_t *offset)56 int symtab_name_lookup(uintptr_t addr, char **name, uintptr_t *offset) 57 57 { 58 58 #ifdef CONFIG_SYMTAB … … 92 92 * 93 93 */ 94 c onst char *symtab_fmt_name_lookup(uintptr_t addr)95 { 96 c onst char *name;94 char *symtab_fmt_name_lookup(uintptr_t addr) 95 { 96 char *name; 97 97 int rc = symtab_name_lookup(addr, &name, NULL); 98 98 … … 239 239 printf("\n"); 240 240 pos = 0; 241 while ( symtab_search_one(name, &pos)) {241 while ((hint = 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.