This is the mail archive of the
gdb-patches@sourceware.cygnus.com
mailing list for the GDB project.
ARM sim: after processing a Thumb undef insn, skip to the next one
- To: gdb-patches at sourceware dot cygnus dot com
- Subject: ARM sim: after processing a Thumb undef insn, skip to the next one
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 04 Jul 2000 03:54:35 -0300
- Organization: GCC Team, Red Hat
I'm checking this in, approved by Nick Clifton:
Index: sim/arm/ChangeLog
from Alexandre Oliva <aoliva@redhat.com>
* armemu.c (ARMul_Emulate, t_undefined): Proceed to next insn.
Index: sim/arm/armemu.c
===================================================================
RCS file: /cvs/src/src/sim/arm/armemu.c,v
retrieving revision 1.11
diff -u -r1.11 armemu.c
--- sim/arm/armemu.c 2000/07/04 06:52:30 1.11
+++ sim/arm/armemu.c 2000/07/04 06:53:30
@@ -428,7 +428,7 @@
{
case t_undefined:
ARMul_UndefInstr (state, instr); /* This is a Thumb instruction */
- break;
+ goto donext;
case t_branch: /* already processed */
goto donext;
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me