diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-10 22:02:48 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-10 22:31:56 -0500 |
commit | dbd4aebe5ba95f95735e333e5483ad4a80726a08 (patch) | |
tree | 00378364e77cf6a868ce19451da4e26ed7df6eda /sim | |
parent | b1f974faeb5f1423639f387714699a2bde0c5610 (diff) | |
download | gdb-dbd4aebe5ba95f95735e333e5483ad4a80726a08.zip gdb-dbd4aebe5ba95f95735e333e5483ad4a80726a08.tar.gz gdb-dbd4aebe5ba95f95735e333e5483ad4a80726a08.tar.bz2 |
sim: m32r: fix missing break statement
The ftime syscall should not fallthrough to the sync syscall.
Clearly the code was missing a break statement.
Diffstat (limited to 'sim')
-rw-r--r-- | sim/m32r/traps.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sim/m32r/traps.c b/sim/m32r/traps.c index c519198..9ffa3bb 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 (); |