mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
2006-03-07 Paul Brook <paul@codesourcery.com>
* elfos.c (ARMul_OSHandleSWI): Call correct function for IsTTY.
This commit is contained in:
parent
e546101697
commit
4b1d9c5854
@ -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
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user