* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
+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
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;