Changeset c47e1a8 in mainline for kernel/generic/src/debug/symtab.c
- Timestamp:
- 2010-05-21T07:50:04Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d51ee2b
- Parents:
- cf8cc36 (diff), 15b592b (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
kernel/generic/src/debug/symtab.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/debug/symtab.c
rcf8cc36 rc47e1a8 38 38 #include <symtab.h> 39 39 #include <byteorder.h> 40 #include <str ing.h>40 #include <str.h> 41 41 #include <print.h> 42 #include < arch/types.h>42 #include <typedefs.h> 43 43 #include <typedefs.h> 44 44 #include <errno.h> … … 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.
