diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 01:27:18 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-21 01:41:07 -0500 |
commit | 3cf7f9363d4eedc3bd783c6174db872cb69c5d97 (patch) | |
tree | 4eabac25d79f9dd3372a4c8bc54c873492e618b1 /sim/arm/armos.c | |
parent | c5190830dbb6c3c875d853b46d742c444fece838 (diff) | |
download | gdb-3cf7f9363d4eedc3bd783c6174db872cb69c5d97.zip gdb-3cf7f9363d4eedc3bd783c6174db872cb69c5d97.tar.gz gdb-3cf7f9363d4eedc3bd783c6174db872cb69c5d97.tar.bz2 |
sim: arm: add missing breaks to SWI processing
Seems unlikely we want the remove syscall to fallthrough into the
rename syscall since we can't rename files that have been removed.
Diffstat (limited to 'sim/arm/armos.c')
-rw-r--r-- | sim/arm/armos.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sim/arm/armos.c b/sim/arm/armos.c index 42d1dfb..374861d 100644 --- a/sim/arm/armos.c +++ b/sim/arm/armos.c @@ -697,11 +697,13 @@ ARMul_OSHandleSWI (ARMul_State * state, ARMword number) case AngelSWI_Reason_Remove: SWIremove (state, ARMul_ReadWord (state, addr)); + break; case AngelSWI_Reason_Rename: SWIrename (state, ARMul_ReadWord (state, addr), ARMul_ReadWord (state, addr + 4)); + break; } } else |