aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/target/hla_target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/hla_target.c b/src/target/hla_target.c
index efc03130..35ff8248 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;