Changeset 01900b6 in mainline for uspace/app
- Timestamp:
- 2020-01-21T15:10:26Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 51da086
- Parents:
- f8fb03b
- Location:
- uspace/app
- Files:
-
- 3 edited
-
taskdump/taskdump.c (modified) (1 diff)
-
tester/mm/pager1.c (modified) (1 diff)
-
trace/trace.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/taskdump.c
rf8fb03b r01900b6 126 126 static errno_t connect_task(task_id_t task_id) 127 127 { 128 async_sess_t *ksess = async_connect_kbox(task_id); 128 errno_t rc; 129 async_sess_t *ksess = async_connect_kbox(task_id, &rc); 129 130 130 131 if (!ksess) { 131 if ( errno== ENOTSUP) {132 if (rc == ENOTSUP) { 132 133 printf("You do not have userspace debugging support " 133 134 "compiled in the kernel.\n"); 134 135 printf("Compile kernel with 'Support for userspace debuggers' " 135 136 "(CONFIG_UDEBUG) enabled.\n"); 136 return errno;137 return rc; 137 138 } 138 139 139 140 printf("Error connecting\n"); 140 141 printf("async_connect_kbox(%" PRIu64 ") -> %s", task_id, str_error_name(errno)); 141 return errno;142 } 143 144 errno_trc = udebug_begin(ksess);142 return rc; 143 } 144 145 rc = udebug_begin(ksess); 145 146 if (rc != EOK) { 146 147 printf("udebug_begin() -> %s\n", str_error_name(rc)); -
uspace/app/tester/mm/pager1.c
rf8fb03b r01900b6 65 65 TPRINTF("Connecting to VFS pager...\n"); 66 66 67 vfs_pager_sess = service_connect_blocking(SERVICE_VFS, INTERFACE_PAGER, 0); 67 vfs_pager_sess = service_connect_blocking(SERVICE_VFS, INTERFACE_PAGER, 68 0, NULL); 68 69 69 70 if (!vfs_pager_sess) { -
uspace/app/trace/trace.c
rf8fb03b r01900b6 139 139 140 140 if (sess == NULL) { 141 sess = async_connect_kbox(task_id );141 sess = async_connect_kbox(task_id, &rc); 142 142 if (sess == NULL) { 143 143 printf("Error connecting to task %" PRIu64 ".\n", 144 144 task_id); 145 rc = EIO;146 145 goto error; 147 146 }
Note:
See TracChangeset
for help on using the changeset viewer.
