OLD | NEW |
1 /* Line completion stuff for GDB, the GNU debugger. | 1 /* Line completion stuff for GDB, the GNU debugger. |
2 Copyright (C) 2000-2001, 2007-2012 Free Software Foundation, Inc. | 2 Copyright (C) 2000-2013 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of GDB. | 4 This file is part of GDB. |
5 | 5 |
6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
11 This program is distributed in the hope that it will be useful, | 11 This program is distributed in the hope that it will be useful, |
12 but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 GNU General Public License for more details. | 14 GNU General Public License for more details. |
15 | 15 |
16 You should have received a copy of the GNU General Public License | 16 You should have received a copy of the GNU General Public License |
17 along with this program. If not, see <http://www.gnu.org/licenses/>. */ | 17 along with this program. If not, see <http://www.gnu.org/licenses/>. */ |
18 | 18 |
19 #include "defs.h" | 19 #include "defs.h" |
20 #include "symtab.h" | 20 #include "symtab.h" |
21 #include "gdbtypes.h" | 21 #include "gdbtypes.h" |
22 #include "expression.h" | 22 #include "expression.h" |
23 #include "filenames.h" /* For DOSish file names. */ | 23 #include "filenames.h" /* For DOSish file names. */ |
24 #include "language.h" | 24 #include "language.h" |
25 #include "gdb_assert.h" | 25 #include "gdb_assert.h" |
26 #include "exceptions.h" | 26 #include "exceptions.h" |
| 27 #include "gdb_signals.h" |
27 | 28 |
28 #include "cli/cli-decode.h" | 29 #include "cli/cli-decode.h" |
29 | 30 |
30 /* FIXME: This is needed because of lookup_cmd_1 (). We should be | 31 /* FIXME: This is needed because of lookup_cmd_1 (). We should be |
31 calling a hook instead so we eliminate the CLI dependency. */ | 32 calling a hook instead so we eliminate the CLI dependency. */ |
32 #include "gdbcmd.h" | 33 #include "gdbcmd.h" |
33 | 34 |
34 /* Needed for rl_completer_word_break_characters() and for | 35 /* Needed for rl_completer_word_break_characters() and for |
35 rl_filename_completion_function. */ | 36 rl_filename_completion_function. */ |
36 #include "readline/readline.h" | 37 #include "readline/readline.h" |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 | 97 |
97 /* Line completion interface function for readline. */ | 98 /* Line completion interface function for readline. */ |
98 | 99 |
99 char * | 100 char * |
100 readline_line_completion_function (const char *text, int matches) | 101 readline_line_completion_function (const char *text, int matches) |
101 { | 102 { |
102 return line_completion_function (text, matches, | 103 return line_completion_function (text, matches, |
103 rl_line_buffer, rl_point); | 104 rl_line_buffer, rl_point); |
104 } | 105 } |
105 | 106 |
error: old chunk mismatch |
None
OLD | NEW |