* ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
[binutils-gdb.git] / gdb / windows-termcap.c
blobd130051914dc590cc6b83cd28a02c74a2f826cc8
1 /* Win32 termcap emulation.
3 Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010
4 Free Software Foundation, Inc.
6 Contributed by CodeSourcery, LLC.
8 This file is part of GDB.
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
20 You should have received a copy of the GNU General Public License
21 along with this program. If not, see <http://www.gnu.org/licenses/>. */
23 #include <stdlib.h>
25 /* Each of the files below is a minimal implementation of the standard
26 termcap function with the same name, suitable for use in a Windows
27 console window. */
29 int
30 tgetent (char *buffer, char *termtype)
32 return -1;
35 int
36 tgetnum (char *name)
38 return -1;
41 int
42 tgetflag (char *name)
44 return -1;
47 char *
48 tgetstr (char *name, char **area)
50 return NULL;
53 int
54 tputs (char *string, int nlines, int (*outfun) ())
56 while (*string)
57 outfun (*string++);
59 return 0;
62 char *
63 tgoto (const char *cap, int col, int row)
65 return NULL;