public inbox for gdb-cvs@sourceware.org
help / color / mirror / Atom feed
* [binutils-gdb] sim: m32r: fix missing break statement
@ 2024-01-11 3:37 Michael Frysinger
0 siblings, 0 replies; only message in thread
From: Michael Frysinger @ 2024-01-11 3:37 UTC (permalink / raw)
To: gdb-cvs
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=dbd4aebe5ba95f95735e333e5483ad4a80726a08
commit dbd4aebe5ba95f95735e333e5483ad4a80726a08
Author: Mike Frysinger <vapier@gentoo.org>
Date: Wed Jan 10 22:02:48 2024 -0500
sim: m32r: fix missing break statement
The ftime syscall should not fallthrough to the sync syscall.
Clearly the code was missing a break statement.
Diff:
---
sim/m32r/traps.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sim/m32r/traps.c b/sim/m32r/traps.c
index c5191989d7f..9ffa3bb15d9 100644
--- a/sim/m32r/traps.c
+++ b/sim/m32r/traps.c
@@ -407,6 +407,7 @@ m32r_trap (SIM_CPU *current_cpu, PCADDR pc, int num)
errcode = EINVAL;
}
}
+ break;
case TARGET_LINUX_SYS_sync:
sync ();
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2024-01-11 3:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-11 3:37 [binutils-gdb] sim: m32r: fix missing break statement Michael 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).