public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH/committed] sim: rx: add missing break to memory write
@ 2023-12-21  6:44 Mike Frysinger
  0 siblings, 0 replies; only message in thread
From: Mike Frysinger @ 2023-12-21  6:44 UTC (permalink / raw)
  To: gdb-patches

It doesn't seem like we want to keep executing the next block of code
after processing the request.
---
 sim/rx/mem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sim/rx/mem.c b/sim/rx/mem.c
index 2cba4cb3662d..83e23023f943 100644
--- a/sim/rx/mem.c
+++ b/sim/rx/mem.c
@@ -324,6 +324,7 @@ mem_put_byte (unsigned int address, unsigned char value)
 	  halt_pipeline_stats ();
 	else
 	  reset_pipeline_stats ();
+	break;
       }
 #endif
 
-- 
2.43.0


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-12-21  6:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-21  6:44 [PATCH/committed] sim: rx: add missing break to memory write Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).