OLD | NEW |
1 /* Specific command window processing. | 1 /* Specific command window processing. |
2 | 2 |
3 Copyright (C) 1998-2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 1998-2013 Free Software Foundation, Inc. |
4 | 4 |
5 Contributed by Hewlett-Packard Company. | 5 Contributed by Hewlett-Packard Company. |
6 | 6 |
7 This file is part of GDB. | 7 This file is part of GDB. |
8 | 8 |
9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
11 the Free Software Foundation; either version 3 of the License, or | 11 the Free Software Foundation; either version 3 of the License, or |
12 (at your option) any later version. | 12 (at your option) any later version. |
13 | 13 |
14 This program is distributed in the hope that it will be useful, | 14 This program is distributed in the hope that it will be useful, |
15 but WITHOUT ANY WARRANTY; without even the implied warranty of | 15 but WITHOUT ANY WARRANTY; without even the implied warranty of |
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
17 GNU General Public License for more details. | 17 GNU General Public License for more details. |
18 | 18 |
19 You should have received a copy of the GNU General Public License | 19 You should have received a copy of the GNU General Public License |
20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 20 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
21 | 21 |
22 #include "defs.h" | 22 #include "defs.h" |
23 #include <ctype.h> | 23 #include <ctype.h> |
24 #include "tui/tui.h" | 24 #include "tui/tui.h" |
25 #include "tui/tui-data.h" | 25 #include "tui/tui-data.h" |
26 #include "tui/tui-win.h" | 26 #include "tui/tui-win.h" |
27 #include "tui/tui-io.h" | 27 #include "tui/tui-io.h" |
28 #include "tui/tui-command.h" | 28 #include "tui/tui-command.h" |
29 | 29 |
30 #include "gdb_curses.h" | 30 #include "gdb_curses.h" |
31 #include "gdb_string.h" | 31 #include <string.h> |
32 | 32 |
33 | 33 |
34 /***************************************** | 34 /***************************************** |
35 ** STATIC LOCAL FUNCTIONS FORWARD DECLS ** | 35 ** STATIC LOCAL FUNCTIONS FORWARD DECLS ** |
36 ******************************************/ | 36 ******************************************/ |
37 | 37 |
38 | 38 |
39 | 39 |
40 /***************************************** | 40 /***************************************** |
41 ** PUBLIC FUNCTIONS ** | 41 ** PUBLIC FUNCTIONS ** |
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 break; | 125 break; |
126 case '\f': | 126 case '\f': |
127 break; | 127 break; |
128 default: | 128 default: |
129 c = ch_copy; | 129 c = ch_copy; |
130 break; | 130 break; |
131 } | 131 } |
132 return c; | 132 return c; |
133 } | 133 } |
134 } | 134 } |
OLD | NEW |