Rev 3742 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3742 | Rev 4073 | ||
---|---|---|---|
Line 41... | Line 41... | ||
41 | 41 | ||
42 | #include <debug.h> |
42 | #include <debug.h> |
43 | #include <proc/task.h> |
43 | #include <proc/task.h> |
44 | #include <proc/thread.h> |
44 | #include <proc/thread.h> |
45 | #include <arch.h> |
45 | #include <arch.h> |
- | 46 | #include <arch/asm.h> |
|
46 | #include <errno.h> |
47 | #include <errno.h> |
47 | #include <syscall/copy.h> |
48 | #include <syscall/copy.h> |
48 | #include <ipc/ipc.h> |
49 | #include <ipc/ipc.h> |
49 | #include <udebug/udebug.h> |
50 | #include <udebug/udebug.h> |
50 | #include <udebug/udebug_ops.h> |
51 | #include <udebug/udebug_ops.h> |
- | 52 | #include <print.h> |
|
51 | 53 | ||
52 | /** |
54 | /** |
53 | * Prepare a thread for a debugging operation. |
55 | * Prepare a thread for a debugging operation. |
54 | * |
56 | * |
55 | * Simply put, return thread t with t->udebug.lock held, |
57 | * Simply put, return thread t with t->udebug.lock held, |