Changeset 3926f30 in mainline
- Timestamp:
- 2008-09-24T07:56:00Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45454e9b
- Parents:
- 0dd0f71f
- Location:
- kernel/generic/src/udebug
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/udebug/udebug.c
r0dd0f71f r3926f30 530 530 LOG("answer GO call with EVENT_FINISHED\n"); 531 531 IPC_SET_RETVAL(t->udebug.go_call->data, 0); 532 IPC_SET_ARG1(t->udebug.go_call->data, UDEBUG_EVENT_FINISHED); 532 IPC_SET_ARG1(t->udebug.go_call->data, 533 UDEBUG_EVENT_FINISHED); 533 534 534 535 ipc_answer(&ta->answerbox, t->udebug.go_call); -
kernel/generic/src/udebug/udebug_ipc.c
r0dd0f71f r3926f30 60 60 } 61 61 62 /** Process a BEGIN call. 63 * 64 * Initiates a debugging session for the current task. The reply 65 * to this call may or may not be sent before this function returns. 66 * 67 * @param call The call structure. 68 */ 62 69 static void udebug_receive_begin(call_t *call) 63 70 { … … 71 78 } 72 79 80 /* 81 * If the initialization of the debugging session has finished, 82 * send a reply. 83 */ 73 84 if (rc != 0) { 74 85 IPC_SET_RETVAL(call->data, 0); … … 77 88 } 78 89 90 /** Process an END call. 91 * 92 * Terminates the debugging session for the current task. 93 * @param call The call structure. 94 */ 79 95 static void udebug_receive_end(call_t *call) 80 96 { … … 87 103 } 88 104 105 /** Process a SET_EVMASK call. 106 * 107 * Sets an event mask for the current debugging session. 108 * @param call The call structure. 109 */ 89 110 static void udebug_receive_set_evmask(call_t *call) 90 111 { … … 100 121 101 122 123 /** Process a GO call. 124 * 125 * Resumes execution of the specified thread. 126 * @param call The call structure. 127 */ 102 128 static void udebug_receive_go(call_t *call) 103 129 { … … 115 141 } 116 142 143 /** Process a STOP call. 144 * 145 * Suspends execution of the specified thread. 146 * @param call The call structure. 147 */ 117 148 static void udebug_receive_stop(call_t *call) 118 149 { … … 127 158 } 128 159 160 /** Process a THREAD_READ call. 161 * 162 * Reads the list of hashes of the (userspace) threads in the current task. 163 * @param call The call structure. 164 */ 129 165 static void udebug_receive_thread_read(call_t *call) 130 166 { … … 177 213 } 178 214 215 /** Process an ARGS_READ call. 216 * 217 * Reads the argument of a current syscall event (SYSCALL_B or SYSCALL_E). 218 * @param call The call structure. 219 */ 179 220 static void udebug_receive_args_read(call_t *call) 180 221 { … … 210 251 } 211 252 253 /** Process an MEM_READ call. 254 * 255 * Reads memory of the current (debugged) task. 256 * @param call The call structure. 257 */ 212 258 static void udebug_receive_mem_read(call_t *call) 213 259 { … … 240 286 } 241 287 242 /** 243 * Handle a debug call received on the kernel answerbox.244 * 245 * This is called by the kbox servicing thread.288 /** Handle a debug call received on the kernel answerbox. 289 * 290 * This is called by the kbox servicing thread. Verifies that the sender 291 * is indeed the debugger and calls the appropriate processing function. 246 292 */ 247 293 void udebug_call_receive(call_t *call)
Note:
See TracChangeset
for help on using the changeset viewer.