X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Flm32%2Fdv-lm32cpu.c;h=bdd64f3699974242edc4fd9a499d5a2e56633112;hb=034685f9ce92cf6dfb6656745365b6a5904a8e84;hp=7087f0b133f1b4feb9eb15614950d4371e1f7551;hpb=27b97b40bca216097d16d53fa9408a70cd281479;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/lm32/dv-lm32cpu.c b/sim/lm32/dv-lm32cpu.c index 7087f0b133..bdd64f3699 100644 --- a/sim/lm32/dv-lm32cpu.c +++ b/sim/lm32/dv-lm32cpu.c @@ -137,7 +137,7 @@ deliver_lm32cpu_interrupt (struct hw *me, void *data) struct lm32cpu *controller = hw_data (me); SIM_DESC sd = hw_system (me); sim_cpu *cpu = STATE_CPU (sd, 0); /* NB: fix CPU 0. */ - address_word cia = CIA_GET (cpu); + address_word cia = CPU_PC_GET (cpu); int interrupt = (int) data; @@ -192,7 +192,7 @@ lm32cpu_port_event (struct hw *me, struct lm32cpu *controller = hw_data (me); SIM_DESC sd = hw_system (me); sim_cpu *cpu = STATE_CPU (sd, 0); /* NB: fix CPU 0. */ - address_word cia = CIA_GET (cpu); + address_word cia = CPU_PC_GET (cpu); HW_TRACE ((me, "interrupt event on port %d, level %d", my_port, level));