hla_target: Use the correct method to access registers
Change-Id: I853fc5117bdf07ecbc4584ff59d324367b2cb3e3 Signed-off-by: Andreas Fritiofson <andreas.fritiofson@gmail.com> Reviewed-on: http://openocd.zylin.com/2477 Tested-by: jenkins Reviewed-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Reviewed-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
parent
24e99ac6d9
commit
89ba6ffec6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue