Ignore:
File:
1 edited

Legend:

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

    r1558d85 rb7fd2a0  
    5050 * @param offset Place to store offset from the symbol address.
    5151 *
    52  * @return Zero on success or negative error code, ENOENT if not found,
     52 * @return Zero on success or an error code, ENOENT if not found,
    5353 *         ENOTSUP if symbol table not available.
    5454 *
    5555 */
    56 int symtab_name_lookup(uintptr_t addr, const char **name, uintptr_t *offset)
     56errno_t symtab_name_lookup(uintptr_t addr, const char **name, uintptr_t *offset)
    5757{
    5858#ifdef CONFIG_SYMTAB
     
    9696{
    9797        const char *name;
    98         int rc = symtab_name_lookup(addr, &name, NULL);
     98        errno_t rc = symtab_name_lookup(addr, &name, NULL);
    9999       
    100100        switch (rc) {
     
    156156 *
    157157 */
    158 int symtab_addr_lookup(const char *name, uintptr_t *addr)
     158errno_t symtab_addr_lookup(const char *name, uintptr_t *addr)
    159159{
    160160#ifdef CONFIG_SYMTAB
Note: See TracChangeset for help on using the changeset viewer.