* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.

* sim-break.c (sim_handle_breakpoint): Likewise.
This commit is contained in:
Doug Evans 1997-11-19 02:37:58 +00:00
parent 340d8e209e
commit 13c9499d4e
2 changed files with 2 additions and 1 deletions

View file

@ -4,6 +4,7 @@ Tue Nov 18 15:53:45 1997 Doug Evans <devans@canuck.cygnus.com>
* sim-base.h (CIA_ADDR): Provide default definition.
* sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value.
* sim-break.c (sim_handle_breakpoint): Likewise.
Mon Nov 17 14:15:31 1997 Doug Evans <devans@seba.cygnus.com>

View 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))