mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-12-19 01:19:41 +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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user