Changes in kernel/arch/mips32/src/debugger.c [9d58539:193d280c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/debugger.c
r9d58539 r193d280c 39 39 #include <console/cmd.h> 40 40 #include <print.h> 41 #include <log.h> 41 42 #include <panic.h> 42 43 #include <arch.h> … … 96 97 .argv = adde_argv 97 98 }; 99 #endif 98 100 99 101 static struct { … … 146 148 } 147 149 150 #ifdef CONFIG_KCONSOLE 151 148 152 /** Add new breakpoint to table 149 153 * … … 284 288 * 285 289 */ 286 void debugger_init( )290 void debugger_init(void) 287 291 { 288 292 unsigned int i; … … 294 298 cmd_initialize(&bkpts_info); 295 299 if (!cmd_register(&bkpts_info)) 296 printf("Cannot register command %s\n", bkpts_info.name); 300 log(LF_OTHER, LVL_WARN, "Cannot register command %s", 301 bkpts_info.name); 297 302 298 303 cmd_initialize(&delbkpt_info); 299 304 if (!cmd_register(&delbkpt_info)) 300 printf("Cannot register command %s\n", delbkpt_info.name); 305 log(LF_OTHER, LVL_WARN, "Cannot register command %s", 306 delbkpt_info.name); 301 307 302 308 cmd_initialize(&addbkpt_info); 303 309 if (!cmd_register(&addbkpt_info)) 304 printf("Cannot register command %s\n", addbkpt_info.name); 310 log(LF_OTHER, LVL_WARN, "Cannot register command %s", 311 addbkpt_info.name); 305 312 306 313 cmd_initialize(&addbkpte_info); 307 314 if (!cmd_register(&addbkpte_info)) 308 printf("Cannot register command %s\n", addbkpte_info.name); 315 log(LF_OTHER, LVL_WARN, "Cannot register command %s", 316 addbkpte_info.name); 309 317 #endif /* CONFIG_KCONSOLE */ 310 318 }
Note:
See TracChangeset
for help on using the changeset viewer.