mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
Add missing break statemenets.
This commit is contained in:
parent
bd518e6be4
commit
77176dfc67
@ -1,3 +1,7 @@
|
||||
2009-05-09 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* interp.c (sim_resume): Add missing breaks in switch.
|
||||
|
||||
2008-10-03 Anthony Green <green@moxielogic.com>
|
||||
|
||||
* interp.c (sim_resume): Add support for ldo.b, sto.b, ldo.s, sto.s.
|
||||
|
@ -460,6 +460,7 @@ sim_resume (sd, step, siggnal)
|
||||
TRACE("gsr");
|
||||
cpu.asregs.regs[a] = cpu.asregs.sregs[v];
|
||||
}
|
||||
break;
|
||||
case 0x03: /* ssr */
|
||||
{
|
||||
int a = (inst >> 8) & 0xf;
|
||||
@ -467,6 +468,7 @@ sim_resume (sd, step, siggnal)
|
||||
TRACE("ssr");
|
||||
cpu.asregs.sregs[v] = cpu.asregs.regs[a];
|
||||
}
|
||||
break;
|
||||
default:
|
||||
TRACE("SIGILL2");
|
||||
cpu.asregs.exception = SIGILL;
|
||||
|
Loading…
Reference in New Issue
Block a user