aboutsummaryrefslogtreecommitdiff
path: root/sim/common/sim-engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/sim-engine.h')
-rw-r--r--sim/common/sim-engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/sim-engine.h b/sim/common/sim-engine.h
index 3fd0a20..73be175 100644
--- a/sim/common/sim-engine.h
+++ b/sim/common/sim-engine.h
@@ -69,7 +69,7 @@ extern void sim_engine_halt
#if !defined (SIM_ENGINE_HALT_HOOK)
#define SIM_ENGINE_HALT_HOOK(SD, LAST_CPU, CIA) \
-if ((LAST_CPU) != NULL) CIA_SET (LAST_CPU, CIA)
+if ((LAST_CPU) != NULL) CPU_PC_SET (LAST_CPU, CIA)
#endif
/* NB: If a port uses the SIM_CPU_EXCEPTION_* hooks, the default