Changeset bd253241 in mainline
- Timestamp:
- 2017-12-09T20:23:19Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94e3a03
- Parents:
- 0722869
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug_ops.c
r0722869 rbd253241 167 167 * @param call The BEGIN call we are servicing. 168 168 * 169 * @return EOKor negative error code.169 * @return 0 (OK, but not done yet), 1 (done) or negative error code. 170 170 * 171 171 */ … … 184 184 TASK->udebug.begin_call = call; 185 185 TASK->udebug.debugger = call->sender; 186 187 int reply; 188 189 if (TASK->udebug.not_stoppable_count == 0) { 190 TASK->udebug.dt_state = UDEBUG_TS_ACTIVE; 191 TASK->udebug.begin_call = NULL; 192 reply = 1; /* immediate reply */ 193 } else 194 reply = 0; /* no reply */ 186 195 187 196 /* Set udebug.active on all of the task's userspace threads. */ … … 198 207 199 208 mutex_unlock(&TASK->udebug.lock); 200 return EOK;209 return reply; 201 210 } 202 211
Note:
See TracChangeset
for help on using the changeset viewer.