aboutsummaryrefslogtreecommitdiff
path: root/libgloss
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2005-11-17 18:56:41 +0000
committerJeff Johnston <jjohnstn@redhat.com>2005-11-17 18:56:41 +0000
commitb92f9343b3da3281722aaabd3bf736257ac80553 (patch)
tree46ed80796c366f4905864af2276ee202696888a5 /libgloss
parent7912bcbf361e5a82f910ba6114a04f2806406e4b (diff)
downloadnewlib-b92f9343b3da3281722aaabd3bf736257ac80553.zip
newlib-b92f9343b3da3281722aaabd3bf736257ac80553.tar.gz
newlib-b92f9343b3da3281722aaabd3bf736257ac80553.tar.bz2
2005-11-17 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports the IsTTY SWI that _isatty calls.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog5
-rw-r--r--libgloss/arm/libcfunc.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index d6134a9..d445ced 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -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>
* cris/linunistd.h: Don't redefine errno as extern int.
diff --git a/libgloss/arm/libcfunc.c b/libgloss/arm/libcfunc.c
index bde55af..f28f527 100644
--- a/libgloss/arm/libcfunc.c
+++ b/libgloss/arm/libcfunc.c
@@ -47,10 +47,7 @@ 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;
+ return _isatty(fildes);
}
int __attribute__((weak))