mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-30 05:23:49 +08:00
Allow simulator to work with Angel SWIs.
This commit is contained in:
parent
0e039bdc1b
commit
e3ace30a61
@ -1,3 +1,8 @@
|
||||
Tue Jun 2 15:22:22 1998 Nick Clifton <nickc@cygnus.com>
|
||||
|
||||
* armos.h: Add Angel SWI and its reason codes.
|
||||
* armos.c (ARMul_OSHandleSWI): Ignore Angel SWIs (for now).
|
||||
|
||||
Mon Jun 1 17:14:19 1998 Anthony Thompson (athompso@cambridge.arm.com)
|
||||
|
||||
* armos.c (ARMul_OSHandleSWI::SWI_Open): Handle special case
|
||||
|
@ -296,6 +296,8 @@ unsigned ARMul_OSHandleSWI(ARMul_State *state,ARMword number)
|
||||
{
|
||||
char dummy[2000];
|
||||
int i;
|
||||
int flags;
|
||||
|
||||
for (i = 0;
|
||||
dummy[i] = ARMul_ReadByte(state, state->Reg[0] + i);
|
||||
i++)
|
||||
@ -417,6 +419,11 @@ unsigned ARMul_OSHandleSWI(ARMul_State *state,ARMword number)
|
||||
} while (temp != 0) ;
|
||||
return(TRUE) ;
|
||||
|
||||
case AngelSWI_ARM:
|
||||
case AngelSWI_Thumb:
|
||||
/* Ignore these SWIs (for now). */
|
||||
return TRUE;
|
||||
|
||||
default :
|
||||
state->Emulate = FALSE ;
|
||||
return(FALSE) ;
|
||||
|
Loading…
Reference in New Issue
Block a user