Changes in kernel/generic/src/debug/symtab.c [b7fd2a0:1558d85] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/debug/symtab.c
rb7fd2a0 r1558d85 50 50 * @param offset Place to store offset from the symbol address. 51 51 * 52 * @return Zero on success or anerror code, ENOENT if not found,52 * @return Zero on success or negative error code, ENOENT if not found, 53 53 * ENOTSUP if symbol table not available. 54 54 * 55 55 */ 56 errno_t symtab_name_lookup(uintptr_t addr, const char **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 … … 96 96 { 97 97 const char *name; 98 errno_t rc = symtab_name_lookup(addr, &name, NULL);98 int rc = symtab_name_lookup(addr, &name, NULL); 99 99 100 100 switch (rc) { … … 156 156 * 157 157 */ 158 errno_t symtab_addr_lookup(const char *name, uintptr_t *addr)158 int symtab_addr_lookup(const char *name, uintptr_t *addr) 159 159 { 160 160 #ifdef CONFIG_SYMTAB
Note:
See TracChangeset
for help on using the changeset viewer.