2005-11-17 Shaun Jackman <sjackman@gmail.com>

* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
	the IsTTY SWI that _isatty calls.
This commit is contained in:
Jeff Johnston 2005-11-17 18:56:41 +00:00
parent 7912bcbf36
commit b92f9343b3
2 changed files with 6 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2005-11-17 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
the IsTTY SWI that _isatty calls.
2005-11-17 Hans-Peter Nilsson <hp@axis.com> 2005-11-17 Hans-Peter Nilsson <hp@axis.com>
* cris/linunistd.h: Don't redefine errno as extern int. * cris/linunistd.h: Don't redefine errno as extern int.

View File

@ -47,10 +47,7 @@ int _isatty(int fildes);
int __attribute__((weak)) int __attribute__((weak))
isatty(int fildes) isatty(int fildes)
{ {
/* GDB does not yet support the IsTTY SWI that _isatty return _isatty(fildes);
* calls, so always return true for now. */
(void)fildes;
return 1;
} }
int __attribute__((weak)) int __attribute__((weak))