This is an automated email from Gerrit.

Andreas Fritiofson (andreas.fritiof...@gmail.com) just uploaded a new patch set 
to Gerrit, which you can find at http://openocd.zylin.com/2477

-- gerrit

commit 2fa75115679e34f5a16413dbdb970f92c6cc66cf
Author: Andreas Fritiofson <andreas.fritiof...@gmail.com>
Date:   Sun Jan 18 15:35:34 2015 +0100

    hla_target: Use the correct method to access registers
    
    Change-Id: I853fc5117bdf07ecbc4584ff59d324367b2cb3e3
    Signed-off-by: Andreas Fritiofson <andreas.fritiof...@gmail.com>

diff --git a/src/target/hla_target.c b/src/target/hla_target.c
index efc0313..35ff824 100644
--- a/src/target/hla_target.c
+++ b/src/target/hla_target.c
@@ -443,7 +443,7 @@ static int adapter_debug_entry(struct target *target)
 
        LOG_DEBUG("entered debug state in core mode: %s at PC 0x%08" PRIx32 ", 
target->state: %s",
                arm_mode_name(arm->core_mode),
-               *(uint32_t *)(arm->pc->value),
+               buf_get_u32(arm->pc->value, 0, 32),
                target_state_name(target));
 
        return retval;

-- 

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to