Changes in uspace/app/taskdump/taskdump.c [01900b6:9286475] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskdump/taskdump.c
r01900b6 r9286475 126 126 static errno_t connect_task(task_id_t task_id) 127 127 { 128 errno_t rc; 129 async_sess_t *ksess = async_connect_kbox(task_id, &rc); 128 async_sess_t *ksess = async_connect_kbox(task_id); 130 129 131 130 if (!ksess) { 132 if ( rc== ENOTSUP) {131 if (errno == ENOTSUP) { 133 132 printf("You do not have userspace debugging support " 134 133 "compiled in the kernel.\n"); 135 134 printf("Compile kernel with 'Support for userspace debuggers' " 136 135 "(CONFIG_UDEBUG) enabled.\n"); 137 return rc;136 return errno; 138 137 } 139 138 140 139 printf("Error connecting\n"); 141 140 printf("async_connect_kbox(%" PRIu64 ") -> %s", task_id, str_error_name(errno)); 142 return rc;143 } 144 145 rc = udebug_begin(ksess);141 return errno; 142 } 143 144 errno_t rc = udebug_begin(ksess); 146 145 if (rc != EOK) { 147 146 printf("udebug_begin() -> %s\n", str_error_name(rc));
Note:
See TracChangeset
for help on using the changeset viewer.