Changeset b7fd2a0 in mainline for uspace/app/taskdump/fibrildump.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/fibrildump.c
r36f0738 rb7fd2a0 43 43 #include <udebug.h> 44 44 45 static int fibrildump_read_uintptr(void *, uintptr_t, uintptr_t *);45 static errno_t fibrildump_read_uintptr(void *, uintptr_t, uintptr_t *); 46 46 47 47 static stacktrace_ops_t fibrildump_st_ops = { … … 49 49 }; 50 50 51 static int fibrildump_read_uintptr(void *arg, uintptr_t addr, uintptr_t *data)51 static errno_t fibrildump_read_uintptr(void *arg, uintptr_t addr, uintptr_t *data) 52 52 { 53 53 async_sess_t *sess = (async_sess_t *)arg; … … 56 56 } 57 57 58 static int read_link(async_sess_t *sess, uintptr_t addr, link_t *link)58 static errno_t read_link(async_sess_t *sess, uintptr_t addr, link_t *link) 59 59 { 60 int rc;60 errno_t rc; 61 61 62 62 rc = udebug_mem_read(sess, (void *)link, addr, sizeof(link_t)); … … 64 64 } 65 65 66 static int read_fibril(async_sess_t *sess, uintptr_t addr, fibril_t *fibril)66 static errno_t read_fibril(async_sess_t *sess, uintptr_t addr, fibril_t *fibril) 67 67 { 68 int rc;68 errno_t rc; 69 69 70 70 rc = udebug_mem_read(sess, (void *)fibril, addr, sizeof(fibril_t)); … … 72 72 } 73 73 74 int fibrils_dump(symtab_t *symtab, async_sess_t *sess)74 errno_t fibrils_dump(symtab_t *symtab, async_sess_t *sess) 75 75 { 76 76 uintptr_t fibril_list_addr; … … 79 79 uintptr_t addr, fibril_addr; 80 80 uintptr_t pc, fp; 81 int rc;81 errno_t rc; 82 82 83 83 /*
Note:
See TracChangeset
for help on using the changeset viewer.