This is an automated email from Gerrit.

Alamy Liu ([email protected]) just uploaded a new patch set to Gerrit, which 
you can find at http://openocd.zylin.com/3331

-- gerrit

commit 180248ca53facd6a73da131d0c61ed45521ac502
Author: Alamy Liu <[email protected]>
Date:   Tue Dec 1 10:48:46 2015 -0800

    Debug: cortex_a: debug messages
    
    Change-Id: I9d5269364fe0a221355698434ed8a575ac5e0024
    Signed-off-by: Alamy Liu <[email protected]>

diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c
index 9a31556..5469b4e 100644
--- a/src/target/cortex_a.c
+++ b/src/target/cortex_a.c
@@ -854,6 +854,7 @@ static int cortex_a_halt_smp(struct target *target)
        head = target->head;
        while (head != (struct target_list *)NULL) {
                curr = head->target;
+LOG_DEBUG("target = %s", target_name(target));
                if ((curr != target) && (curr->state != TARGET_HALTED))
                        retval += cortex_a_halt(curr);
                head = head->next;
@@ -864,7 +865,10 @@ static int cortex_a_halt_smp(struct target *target)
 static int update_halt_gdb(struct target *target)
 {
        int retval = 0;
+LOG_DEBUG("target=%s, service=%p, core[0]=%d", target_name(target),
+       target->gdb_service, target->gdb_service->core[0]);
        if (target->gdb_service && target->gdb_service->core[0] == -1) {
+LOG_DEBUG("Debug tag");
                target->gdb_service->target = target;
                target->gdb_service->core[0] = target->coreid;
                retval += cortex_a_halt_smp(target);

-- 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to