From b92f9343b3da3281722aaabd3bf736257ac80553 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Thu, 17 Nov 2005 18:56:41 +0000 Subject: 2005-11-17 Shaun Jackman * libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports the IsTTY SWI that _isatty calls. --- libgloss/arm/libcfunc.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libgloss/arm/libcfunc.c') diff --git a/libgloss/arm/libcfunc.c b/libgloss/arm/libcfunc.c index bde55afd2..f28f527b2 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)) -- cgit v1.2.3