Rev 3492 | Rev 3665 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3492 | Rev 3602 | ||
---|---|---|---|
Line 174... | Line 174... | ||
174 | * handler, without actually disabling interrupts. |
174 | * handler, without actually disabling interrupts. |
175 | * ==0 means "unlocked", >0 means "locked" |
175 | * ==0 means "unlocked", >0 means "locked" |
176 | */ |
176 | */ |
177 | atomic_t int_lock; |
177 | atomic_t int_lock; |
178 | 178 | ||
179 | /** Synchronize debug ops on this thread / access to this structure */ |
179 | /** Synchronize debug ops on this thread / access to this structure. */ |
180 | mutex_t lock; |
180 | mutex_t lock; |
181 | 181 | ||
182 | waitq_t go_wq; |
182 | waitq_t go_wq; |
183 | call_t *go_call; |
183 | call_t *go_call; |
184 | unative_t syscall_args[6]; |
184 | unative_t syscall_args[6]; |
185 | 185 | ||
186 | /** What type of event are we stopped in or 0 if none */ |
186 | /** What type of event are we stopped in or 0 if none. */ |
187 | udebug_event_t cur_event; |
187 | udebug_event_t cur_event; |
188 | bool stop; |
188 | bool go; /**< thread is GO */ |
189 | bool stoppable; |
189 | bool stoppable; /**< thread is stoppable */ |
190 | bool debug_active; /**< In a debugging session */ |
190 | bool debug_active; /**< thread is in a debugging session */ |
191 | } udebug_thread_t; |
191 | } udebug_thread_t; |
192 | 192 | ||
193 | struct task; |
193 | struct task; |
194 | struct thread; |
194 | struct thread; |
195 | 195 |