2005-11-17 Shaun Jackman <sjackman@gmail.com>
* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports the IsTTY SWI that _isatty calls.
This commit is contained in:
parent
7912bcbf36
commit
b92f9343b3
|
@ -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>
|
2005-11-17 Hans-Peter Nilsson <hp@axis.com>
|
||||||
|
|
||||||
* cris/linunistd.h: Don't redefine errno as extern int.
|
* cris/linunistd.h: Don't redefine errno as extern int.
|
||||||
|
|
|
@ -47,10 +47,7 @@ int _isatty(int fildes);
|
||||||
int __attribute__((weak))
|
int __attribute__((weak))
|
||||||
isatty(int fildes)
|
isatty(int fildes)
|
||||||
{
|
{
|
||||||
/* GDB does not yet support the IsTTY SWI that _isatty
|
return _isatty(fildes);
|
||||||
* calls, so always return true for now. */
|
|
||||||
(void)fildes;
|
|
||||||
return 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int __attribute__((weak))
|
int __attribute__((weak))
|
||||||
|
|
Loading…
Reference in New Issue