From: Paul Brook Date: Tue, 7 Mar 2006 19:55:55 +0000 (+0000) Subject: 2006-03-07 Paul Brook X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4b1d9c58548086d46f2883b5ed780c0156e08964;p=binutils-gdb.git 2006-03-07 Paul Brook * elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY. --- diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index df88ef1c42a..c4ea3bd0075 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 8e346c73784..77390521009 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;