Really remove tic30-aout support
[deliverable/binutils-gdb.git] / sim / common / sim-run.c
index 1a89a53d48167774a3ee3ad3423faa53995b9e8a..9bc6139cb5b3d12e265dd9df43be803f8bc74d36 100644 (file)
@@ -1,5 +1,5 @@
 /* Generic simulator run.
 /* Generic simulator run.
-   Copyright (C) 1997, 2007 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.
    Contributed by Cygnus Support.
 
 This file is part of GDB, the GNU debugger.
@@ -35,7 +35,7 @@ sim_engine_run (SIM_DESC sd,
   sim_cpu *cpu;
   SIM_ASSERT (STATE_MAGIC (sd) == SIM_MAGIC_NUMBER);
   cpu = STATE_CPU (sd, 0);
   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);
   while (1)
     {
       instruction_word insn = IMEM32 (cia);
@@ -43,7 +43,7 @@ sim_engine_run (SIM_DESC sd,
       /* process any events */
       if (sim_events_tick (sd))
        {
       /* process any events */
       if (sim_events_tick (sd))
        {
-         CIA_SET (cpu, cia);
+         CPU_PC_SET (cpu, cia);
          sim_events_process (sd);
        }
     }
          sim_events_process (sd);
        }
     }
This page took 0.023342 seconds and 4 git commands to generate.