Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Anthony Green <green@moxielogic.com>
To: gdb-patches@sourceware.org
Subject: Patch: moxie sim fix
Date: Sun, 10 May 2009 13:21:00 -0000	[thread overview]
Message-ID: <1241961674.6842.6.camel@localhost.localdomain> (raw)

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;




                 reply	other threads:[~2009-05-10 13:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1241961674.6842.6.camel@localhost.localdomain \
    --to=green@moxielogic.com \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox