projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Update PC when simulate break instruction.
[deliverable/binutils-gdb.git]
/
sim
/
avr
/
interp.c
diff --git
a/sim/avr/interp.c
b/sim/avr/interp.c
index 31a99407bd23a7f0b45303424737cf54cb5b1683..fcce9b298d17f9268963d1a2ceef124a6c1cd6a8 100644
(file)
--- a/
sim/avr/interp.c
+++ b/
sim/avr/interp.c
@@
-911,8
+911,7
@@
step_once (SIM_CPU *cpu)
case OP_break:
/* Stop on this address. */
- sim_engine_halt (CPU_STATE (cpu), cpu, NULL, cpu->pc, sim_stopped, SIM_SIGTRAP);
- cpu->pc = ipc;
+ sim_engine_halt (CPU_STATE (cpu), cpu, NULL, ipc, sim_stopped, SIM_SIGTRAP);
break;
case OP_bld:
This page took
0.023117 seconds
and
4
git commands to generate.