Changes in kernel/generic/include/udebug/udebug.h [3698e44:8af9950] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/udebug/udebug.h
r3698e44 r8af9950 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 83 83 UDEBUG_M_ARGS_READ, 84 84 85 /** Read thread's userspace register state (istate_t).86 *87 * - ARG2 - thread identification88 * - ARG3 - destination address in the caller's address space89 *90 * or, on error, retval will be91 * - ENOENT - thread does not exist92 * - EBUSY - register state not available93 */94 UDEBUG_M_REGS_READ,95 96 85 /** Read the list of the debugged tasks's threads. 97 86 * … … 107 96 */ 108 97 UDEBUG_M_THREAD_READ, 109 110 /** Read the name of the debugged task.111 *112 * - ARG2 - destination address in the caller's address space113 * - ARG3 - size of receiving buffer in bytes114 *115 * The kernel fills the buffer with a non-terminated string.116 *117 * - ARG2 - number of bytes that were actually copied118 * - ARG3 - number of bytes of the complete data119 *120 */121 UDEBUG_M_NAME_READ,122 123 /** Read the list of the debugged task's address space areas.124 *125 * - ARG2 - destination address in the caller's address space126 * - ARG3 - size of receiving buffer in bytes127 *128 * The kernel fills the buffer with a series of as_area_info_t structures.129 * Upon answer, the kernel will set:130 *131 * - ARG2 - number of bytes that were actually copied132 * - ARG3 - number of bytes of the complete data133 *134 */135 UDEBUG_M_AREAS_READ,136 98 137 99 /** Read the debugged tasks's memory. … … 146 108 } udebug_method_t; 147 109 148 110 149 111 typedef enum { 150 112 UDEBUG_EVENT_FINISHED = 1, /**< Debuging session has finished */ … … 177 139 178 140 #include <synch/mutex.h> 179 #include <synch/condvar.h>180 141 #include <arch/interrupt.h> 181 142 #include <atomic.h> … … 220 181 bool stoppable; /**< thread is stoppable */ 221 182 bool active; /**< thread is in a debugging session */ 222 condvar_t active_cv;223 183 } udebug_thread_t; 224 184 … … 242 202 243 203 int udebug_task_cleanup(struct task *ta); 244 void udebug_thread_fault(void);245 204 246 205 #endif
Note:
See TracChangeset
for help on using the changeset viewer.