2005-08-02 Shaun Jackman <sjackman@gmail.com>

* libgloss/arm/libcfunc.c (isatty): New function.
This commit is contained in:
Jeff Johnston 2005-08-02 19:28:31 +00:00
parent 0e77a3817f
commit 98bfe22095
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2005-08-02 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): New function.
2005-08-02 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/syscalls.c (_exit): Call _kill with the second

View File

@ -43,6 +43,16 @@ alarm (unsigned seconds)
return 0;
}
int _isatty(int fildes);
int __attribute__((weak))
isatty(int fildes)
{
/* GDB does not yet support the IsTTY SWI that _isatty
* calls, so always return true for now. */
(void)fildes;
return 1;
}
int __attribute__((weak))
pause (void)
{