Changeset 86bbca4 in mainline
- Timestamp:
- 2017-12-08T21:03:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f43742e2
- Parents:
- e172429
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 03:41:22)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2017-12-08 21:03:35)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug_ops.c
re172429 r86bbca4 167 167 * @param call The BEGIN call we are servicing. 168 168 * 169 * @return 0 (OK, but not done yet), 1 (done)or negative error code.169 * @return EOK 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 } else194 reply = 0; /* no reply */195 186 196 187 /* Set udebug.active on all of the task's userspace threads. */ … … 207 198 208 199 mutex_unlock(&TASK->udebug.lock); 209 return reply;200 return EOK; 210 201 } 211 202
Note:
See TracChangeset
for help on using the changeset viewer.