Rev 3005 | Rev 3018 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3005 | Rev 3008 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | #include "cmd.h" |
46 | #include "cmd.h" |
47 | #include "cons.h" |
47 | #include "cons.h" |
48 | #include "dthread.h" |
48 | #include "dthread.h" |
49 | #include "breakpoint.h" |
49 | #include "breakpoint.h" |
50 | #include "include/arch.h" |
50 | #include "include/arch.h" |
51 | #include "fib_synch.h" |
- | |
52 | #include "main.h" |
51 | #include "main.h" |
53 | 52 | ||
54 | void thread_debug_start(unsigned thread_hash); |
53 | void thread_debug_start(unsigned thread_hash); |
55 | 54 | ||
56 | #define IN_BUF_SIZE 64 |
55 | #define IN_BUF_SIZE 64 |
Line 66... | Line 65... | ||
66 | int app_phone; |
65 | int app_phone; |
67 | volatile bool abort_debug; |
66 | volatile bool abort_debug; |
68 | 67 | ||
69 | volatile int paused; |
68 | volatile int paused; |
70 | 69 | ||
71 | fcv_t go_cv; |
- | |
72 | - | ||
73 | static void command_split(char *cmd_str) |
70 | static void command_split(char *cmd_str) |
74 | { |
71 | { |
75 | char *p = cmd_str; |
72 | char *p = cmd_str; |
76 | 73 | ||
77 | if (*p == '\0') { |
74 | if (*p == '\0') { |
Line 389... | Line 386... | ||
389 | paused = 0; |
386 | paused = 0; |
390 | 387 | ||
391 | list_initialize(&dthreads); |
388 | list_initialize(&dthreads); |
392 | breakpoint_init(); |
389 | breakpoint_init(); |
393 | cwt = NULL; |
390 | cwt = NULL; |
394 | - | ||
395 | fcv_init(&go_cv); |
- | |
396 | } |
391 | } |
397 | 392 | ||
398 | int main(void) |
393 | int main(void) |
399 | { |
394 | { |
400 | main_init(); |
395 | main_init(); |