From: Doug Evans Date: Wed, 19 Nov 1997 02:37:58 +0000 (+0000) Subject: * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value. X-Git-Tag: gdb-4_18~4251 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=13c9499d4e3b8ba790145ff7039c99c353a46fd4;p=platform%2Fupstream%2Fbinutils.git * sim-core.c (sim_core_signal): Use CIA_ADDR to fetch value. * sim-break.c (sim_handle_breakpoint): Likewise. --- diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 4d47224a9be..1073dfdb5e5 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -4,6 +4,7 @@ Tue Nov 18 15:53:45 1997 Doug Evans * 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 diff --git a/sim/common/sim-break.c b/sim/common/sim-break.c index d735c8572dd..1478278cb14 100644 --- a/sim/common/sim-break.c +++ b/sim/common/sim-break.c @@ -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))