/* Generic simulator run.
- Copyright (C) 1997, 2007, 2008, 2009 Free Software Foundation, Inc.
+ Copyright (C) 1997-2020 Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file is part of GDB, the GNU debugger.
sim_cpu *cpu;
SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER);
cpu = STATE_CPU (sd, 0);
- cia = CIA_GET (cpu);
+ cia = CPU_PC_GET (cpu);
while (1)
{
instruction_word insn = IMEM32 (cia);
/* process any events */
if (sim_events_tick (sd))
{
- CIA_SET (cpu, cia);
+ CPU_PC_SET (cpu, cia);
sim_events_process (sd);
}
}