* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
the IsTTY SWI that _isatty calls.
+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>
* cris/linunistd.h: Don't redefine errno as extern int.
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;
+ return _isatty(fildes);
}
int __attribute__((weak))