2006-03-07 Paul Brook <paul@codesourcery.com>

* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
This commit is contained in:
Paul Brook 2006-03-07 19:55:55 +00:00
parent e546101697
commit 4b1d9c5854
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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;