From 46b5151381235cc34bdbfab5bfdfd4d4b9d55d42 Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Mon, 9 Nov 2009 13:50:30 +0000 Subject: [PATCH] 2009-11-09 Tristan Gingold * avr/interp.c (sim_resume): Fix typo for OP_ret. --- sim/ChangeLog | 4 ++++ sim/avr/interp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sim/ChangeLog b/sim/ChangeLog index 72736f497a4..6a5e74e5bb2 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,7 @@ +2009-11-09 Tristan Gingold + + * avr/interp.c (sim_resume): Fix typo for OP_ret. + 2009-10-23 Doug Evans * cris/arch.c: Regenerate. diff --git a/sim/avr/interp.c b/sim/avr/interp.c index 8bb9ec2e6a3..903370f8c28 100644 --- a/sim/avr/interp.c +++ b/sim/avr/interp.c @@ -985,7 +985,7 @@ sim_resume (SIM_DESC sd, int step, int signal) unsigned int sp = read_word (REG_SP); if (avr_pc22) { - pc = sram[++sp] = pc << 16; + pc = sram[++sp] << 16; cycles++; } else -- 2.30.2