summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-07-04 06:54:48 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-07-04 06:54:48 +0000
commit8af59af20582372763375755e6b7bf21db79c193 (patch)
tree304422dfa4a183985d996d6ef5aaabb2d3d0fb7d /sim
parent409ca66f67c77eed9f21463a411bc6037a385ec0 (diff)
downloadgdb-8af59af20582372763375755e6b7bf21db79c193.tar.gz
* armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
Diffstat (limited to 'sim')
-rw-r--r--sim/arm/ChangeLog2
-rw-r--r--sim/arm/armemu.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index 9e4bdc06eb8..bdc2f363029 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,5 +1,7 @@
2000-07-04 Alexandre Oliva <aoliva@redhat.com>
+ * armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
+
* armemu.h (INSN_SIZE): New macro.
(SET_ABORT): Save CPSR in SPSR and set LR.
* armemu.c (ARMul_Emulate, isize): Set to INSN_SIZE.
diff --git a/sim/arm/armemu.c b/sim/arm/armemu.c
index 31bd327b530..7152023d25b 100644
--- a/sim/arm/armemu.c
+++ b/sim/arm/armemu.c
@@ -428,7 +428,7 @@ ARMul_Emulate26 (register ARMul_State * state)
{
case t_undefined:
ARMul_UndefInstr (state, instr); /* This is a Thumb instruction */
- break;
+ goto donext;
case t_branch: /* already processed */
goto donext;