Rev 2818 | Rev 2833 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2818 | Rev 2825 | ||
|---|---|---|---|
| Line 126... | Line 126... | ||
| 126 | UDEBUG_EVENT_SYSCALL |
126 | UDEBUG_EVENT_SYSCALL |
| 127 | } udebug_event_t; |
127 | } udebug_event_t; |
| 128 | 128 | ||
| 129 | #ifdef KERNEL |
129 | #ifdef KERNEL |
| 130 | 130 | ||
| - | 131 | typedef enum { |
|
| - | 132 | /** Task is not being debugged */ |
|
| - | 133 | UDEBUG_TS_INACTIVE, |
|
| - | 134 | /** BEGIN operation in progress (waiting for threads to stop) */ |
|
| - | 135 | UDEBUG_TS_BEGINNING, |
|
| - | 136 | /** Debugger fully connected */ |
|
| - | 137 | UDEBUG_TS_ACTIVE, |
|
| - | 138 | /** Task is shutting down, no more debug activities allowed */ |
|
| - | 139 | UDEBUG_TS_SHUTDOWN |
|
| - | 140 | } udebug_task_state_t; |
|
| - | 141 | ||
| 131 | void udebug_syscall_event(unative_t a1, unative_t a2, unative_t a3, |
142 | void udebug_syscall_event(unative_t a1, unative_t a2, unative_t a3, |
| 132 | unative_t a4, unative_t a5, unative_t a6, unative_t id, unative_t rc); |
143 | unative_t a4, unative_t a5, unative_t a6, unative_t id, unative_t rc); |
| 133 | void udebug_stoppable_begin(void); |
144 | void udebug_stoppable_begin(void); |
| 134 | void udebug_stoppable_end(void); |
145 | void udebug_stoppable_end(void); |
| 135 | 146 | ||