mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
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.
This commit is contained in:
parent
c5190830db
commit
3cf7f9363d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user