From 4b1d9c58548086d46f2883b5ed780c0156e08964 Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Tue, 7 Mar 2006 19:55:55 +0000 Subject: 2006-03-07 Paul Brook * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY. --- sim/arm/ChangeLog | 4 ++++ sim/arm/armos.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'sim/arm') 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 + + * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY. + 2006-02-01 Shaun Jackman * 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; -- cgit v1.1