Rev 2943 | Rev 3005 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2943 | Rev 2947 | ||
---|---|---|---|
Line 48... | Line 48... | ||
48 | static void cmd_break(int argc, char *argv[]); |
48 | static void cmd_break(int argc, char *argv[]); |
49 | static void cmd_ct(int argc, char *argv[]); |
49 | static void cmd_ct(int argc, char *argv[]); |
50 | static void cmd_dbreak(int argc, char *argv[]); |
50 | static void cmd_dbreak(int argc, char *argv[]); |
51 | static void cmd_go(int argc, char *argv[]); |
51 | static void cmd_go(int argc, char *argv[]); |
52 | static void cmd_istep(int argc, char *argv[]); |
52 | static void cmd_istep(int argc, char *argv[]); |
- | 53 | static void cmd_lbrk(int argc, char *argv[]); |
|
53 | void cmd_help(int argc, char *argv[]); |
54 | void cmd_help(int argc, char *argv[]); |
54 | static void cmd_memr(int argc, char *argv[]); |
55 | static void cmd_memr(int argc, char *argv[]); |
55 | static void cmd_pwt(int argc, char *argv[]); |
56 | static void cmd_pwt(int argc, char *argv[]); |
56 | static void cmd_regs(int argc, char *argv[]); |
57 | static void cmd_regs(int argc, char *argv[]); |
57 | static void cmd_stop(int argc, char *argv[]); |
58 | static void cmd_stop(int argc, char *argv[]); |
Line 69... | Line 70... | ||
69 | { 2, "memr", cmd_memr }, |
70 | { 2, "memr", cmd_memr }, |
70 | { 0, "pwt", cmd_pwt }, |
71 | { 0, "pwt", cmd_pwt }, |
71 | { 0, "regs", cmd_regs }, |
72 | { 0, "regs", cmd_regs }, |
72 | { 0 , "stop", cmd_stop }, |
73 | { 0 , "stop", cmd_stop }, |
73 | { 0, "istep", cmd_istep }, |
74 | { 0, "istep", cmd_istep }, |
- | 75 | { 0, "lbrk", cmd_lbrk }, |
|
74 | { 0, "threads", cmd_threads }, |
76 | { 0, "threads", cmd_threads }, |
75 | { 0, "quit", cmd_quit }, |
77 | { 0, "quit", cmd_quit }, |
76 | { -1, NULL, NULL } |
78 | { -1, NULL, NULL } |
77 | }; |
79 | }; |
78 | 80 | ||
Line 158... | Line 160... | ||
158 | 160 | ||
159 | arch_set_singlestep(cwt, 1); |
161 | arch_set_singlestep(cwt, 1); |
160 | dthread_resume(cwt); |
162 | dthread_resume(cwt); |
161 | } |
163 | } |
162 | 164 | ||
- | 165 | static void cmd_lbrk(int argc, char *argv[]) |
|
- | 166 | { |
|
- | 167 | (void)argc; (void)argv; |
|
- | 168 | ||
- | 169 | arch_breakpoint_list(); |
|
- | 170 | } |
|
- | 171 | ||
- | 172 | ||
163 | #define BYTES_PER_LINE 16 |
173 | #define BYTES_PER_LINE 16 |
164 | 174 | ||
165 | static void cmd_memr(int argc, char *argv[]) |
175 | static void cmd_memr(int argc, char *argv[]) |
166 | { |
176 | { |
167 | uintptr_t addr; |
177 | uintptr_t addr; |