* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
[deliverable/binutils-gdb.git] / sim / common / sim-break.c
index d735c8572dd3de74732545e0cd6f0f2d018727e1..1478278cb1495858089bb7f345e8cce507858e3d 100644 (file)
@@ -98,7 +98,7 @@ sim_handle_breakpoint (sd, cpu, cia)
   struct sim_breakpoint *bp;
 
   for (bp = STATE_BREAKPOINTS (sd); bp; bp = bp->next)
-    if (bp->addr == cia)
+    if (bp->addr == CIA_ADDR (cia))
       break;
 
   if (!bp || !(bp->flags & SIM_BREAK_INSERTED))
This page took 0.022402 seconds and 4 git commands to generate.