X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fposix-hdep.c;h=d0f467e1fcc1bf21c3a244d63ea0c7af0724be92;hb=f7e13587eaf1e2d433e21ac0a9e413a98e53652d;hp=858c16cccf300310642e6dd29377ddd781983940;hpb=e2882c85786571175a0b0bfc3bcd2f14620b1ea3;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/posix-hdep.c b/gdb/posix-hdep.c index 858c16cccf..d0f467e1fc 100644 --- a/gdb/posix-hdep.c +++ b/gdb/posix-hdep.c @@ -1,6 +1,6 @@ /* Host support routines for MinGW, for GDB, the GNU debugger. - Copyright (C) 2006-2018 Free Software Foundation, Inc. + Copyright (C) 2006-2019 Free Software Foundation, Inc. This file is part of GDB. @@ -30,3 +30,11 @@ gdb_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, { return select (n, readfds, writefds, exceptfds, timeout); } + +/* Host-dependent console fputs method. POSIX platforms always return + zero, to use the default C 'fputs'. */ +int +gdb_console_fputs (const char *buf, FILE *f) +{ + return 0; +}