From: oharboe at B. <oh...@ma...> - 2009-09-04 10:21:20
|
Author: oharboe Date: 2009-09-04 10:21:18 +0200 (Fri, 04 Sep 2009) New Revision: 2667 Modified: trunk/src/target/arm7_9_common.c Log: more debug output for breakpoints Modified: trunk/src/target/arm7_9_common.c =================================================================== --- trunk/src/target/arm7_9_common.c 2009-09-04 05:20:45 UTC (rev 2666) +++ trunk/src/target/arm7_9_common.c 2009-09-04 08:21:18 UTC (rev 2667) @@ -228,9 +228,10 @@ arm7_9_common_t *arm7_9 = armv4_5->arch_info; int retval = ERROR_OK; - LOG_DEBUG("BPID: %d, Address: 0x%08" PRIx32, + LOG_DEBUG("BPID: %d, Address: 0x%08" PRIx32 ", Type: %d" , breakpoint->unique_id, - breakpoint->address ); + breakpoint->address, + breakpoint->type); if (target->state != TARGET_HALTED) { @@ -1187,6 +1188,13 @@ int i; int retval; + /* FIX!!! replace some of this code with tcl commands + * + * halt # the halt command is synchronous + * armv4_5 core_state arm + * + */ + if ((retval = target_halt(target)) != ERROR_OK) return retval; |