diff options
Diffstat (limited to 'libgloss/arm/libcfunc.c')
-rw-r--r-- | libgloss/arm/libcfunc.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libgloss/arm/libcfunc.c b/libgloss/arm/libcfunc.c index f684c2526..26f563308 100644 --- a/libgloss/arm/libcfunc.c +++ b/libgloss/arm/libcfunc.c @@ -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) { |