Rev 2866 | Rev 2870 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2866 | Rev 2867 | ||
|---|---|---|---|
| Line 118... | Line 118... | ||
| 118 | } udebug_method_t; |
118 | } udebug_method_t; |
| 119 | 119 | ||
| 120 | 120 | ||
| 121 | typedef enum { |
121 | typedef enum { |
| 122 | UDEBUG_EVENT_FINISHED = 1, /**< Debuging session has finished */ |
122 | UDEBUG_EVENT_FINISHED = 1, /**< Debuging session has finished */ |
| 123 | UDEBUG_EVENT_SYSCALL /**< A syscall has been executed */ |
123 | UDEBUG_EVENT_SYSCALL, /**< A syscall has been executed */ |
| - | 124 | UDEBUG_EVENT_NEW_THREAD /**< The task created a new thread */ |
|
| 124 | } udebug_event_t; |
125 | } udebug_event_t; |
| 125 | 126 | ||
| 126 | #ifdef KERNEL |
127 | #ifdef KERNEL |
| 127 | 128 | ||
| 128 | typedef enum { |
129 | typedef enum { |
| Line 136... | Line 137... | ||
| 136 | UDEBUG_TS_SHUTDOWN |
137 | UDEBUG_TS_SHUTDOWN |
| 137 | } udebug_task_state_t; |
138 | } udebug_task_state_t; |
| 138 | 139 | ||
| 139 | void udebug_syscall_event(unative_t a1, unative_t a2, unative_t a3, |
140 | void udebug_syscall_event(unative_t a1, unative_t a2, unative_t a3, |
| 140 | unative_t a4, unative_t a5, unative_t a6, unative_t id, unative_t rc); |
141 | unative_t a4, unative_t a5, unative_t a6, unative_t id, unative_t rc); |
| - | 142 | void udebug_new_thread_event(struct thread *t); |
|
| - | 143 | ||
| 141 | void udebug_stoppable_begin(void); |
144 | void udebug_stoppable_begin(void); |
| 142 | void udebug_stoppable_end(void); |
145 | void udebug_stoppable_end(void); |
| 143 | 146 | ||
| 144 | #endif |
147 | #endif |
| 145 | 148 | ||