diff options
Diffstat (limited to 'sim')
-rw-r--r-- | sim/arm/ChangeLog | 4 | ||||
-rw-r--r-- | sim/arm/armos.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index df88ef1..c4ea3bd 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2006-03-07 Paul Brook <paul@codesourcery.com> + + * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY. + 2006-02-01 Shaun Jackman <sjackman@gmail.com> * armos.c (ARMul_OSHandleSWI): Handle the RedBoot system diff --git a/sim/arm/armos.c b/sim/arm/armos.c index 8e346c7..7739052 100644 --- a/sim/arm/armos.c +++ b/sim/arm/armos.c @@ -747,8 +747,8 @@ ARMul_OSHandleSWI (ARMul_State * state, ARMword number) break; case AngelSWI_Reason_IsTTY: - state->Reg[0] = sim_callback->close (sim_callback, - ARMul_ReadWord (state, addr)); + state->Reg[0] = sim_callback->isatty (sim_callback, + ARMul_ReadWord (state, addr)); OSptr->ErrorNo = sim_callback->get_errno (sim_callback); break; |