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 | 4b1d9c58548086d46f2883b5ed780c0156e08964 (patch) | |
tree | 00e1267d10c5cc441cb1a8228f74e998bb127d9d /sim/arm/armos.c | |
parent | e546101697a4e017451f5918d7e4c4c50c0942fe (diff) | |
download | gdb-4b1d9c58548086d46f2883b5ed780c0156e08964.zip gdb-4b1d9c58548086d46f2883b5ed780c0156e08964.tar.gz gdb-4b1d9c58548086d46f2883b5ed780c0156e08964.tar.bz2 |
2006-03-07 Paul Brook <paul@codesourcery.com>
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
Diffstat (limited to 'sim/arm/armos.c')
-rw-r--r-- | sim/arm/armos.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |