diff options
author | Paul Brook <paul@codesourcery.com> | 2006-03-07 19:55:55 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2006-03-07 19:55:55 +0000 |
commit | 3de3426b8797407c3dc09a30b20fae2de72f0c08 (patch) | |
tree | d882f0259b51e4f989888ccf9da6be322e693787 | |
parent | 8ff1898517c11f8cc4c16a41dd62721f763d5e6f (diff) | |
download | gdb-3de3426b8797407c3dc09a30b20fae2de72f0c08.tar.gz |
2006-03-07 Paul Brook <paul@codesourcery.com>
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
-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 df88ef1c42a..c4ea3bd0075 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 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; |