OSDN Git Service

2005-08-02 Shaun Jackman <sjackman@gmail.com>
authorjjohnstn <jjohnstn>
Tue, 2 Aug 2005 19:28:28 +0000 (19:28 +0000)
committerjjohnstn <jjohnstn>
Tue, 2 Aug 2005 19:28:28 +0000 (19:28 +0000)
        * libgloss/arm/libcfunc.c (isatty): New function.

libgloss/ChangeLog
libgloss/arm/libcfunc.c

index f06bc7c..b78f12e 100644 (file)
@@ -1,5 +1,9 @@
 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
         argument set to -1, which is an invalid signal number.
         (_kill): Comment and coding style changes only.
index f684c25..26f5633 100644 (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)
 {