* Patch: moxie sim fix
@ 2009-05-10 13:21 Anthony Green
0 siblings, 0 replies; only message in thread
From: Anthony Green @ 2009-05-10 13:21 UTC (permalink / raw)
To: gdb-patches
I'm checking in this obvious fix to the moxie simulator.
AG
2009-05-09 Anthony Green <green@moxielogic.com>
* interp.c (sim_resume): Add missing breaks in switch.
Index: sim/moxie/interp.c
===================================================================
RCS file: /cvs/src/src/sim/moxie/interp.c,v
retrieving revision 1.1
diff -u -r1.1 interp.c
--- sim/moxie/interp.c 1 May 2009 03:03:41 -0000 1.1
+++ sim/moxie/interp.c 10 May 2009 04:12:18 -0000
@@ -460,6 +460,7 @@
TRACE("gsr");
cpu.asregs.regs[a] = cpu.asregs.sregs[v];
}
+ break;
case 0x03: /* ssr */
{
int a = (inst >> 8) & 0xf;
@@ -467,6 +468,7 @@
TRACE("ssr");
cpu.asregs.sregs[v] = cpu.asregs.regs[a];
}
+ break;
default:
TRACE("SIGILL2");
cpu.asregs.exception = SIGILL;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-05-10 13:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-10 13:21 Patch: moxie sim fix Anthony Green
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox