This is the mail archive of the gdb-patches@sourceware.cygnus.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

ARM sim: after processing a Thumb undef insn, skip to the next one


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]