summaryrefslogtreecommitdiff
path: root/gdb/completer.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@specifix.com>2007-08-11 20:08:37 +0000
committerMichael Snyder <msnyder@specifix.com>2007-08-11 20:08:37 +0000
commitc17fe5d05f550bb22f3d97a4a4a3e7bf1dabb2e3 (patch)
treecc492950405f57ea2838903c63bee2881666634d /gdb/completer.c
parentd060005becc8f614478dc627baca28bb184bab48 (diff)
downloadgdb-c17fe5d05f550bb22f3d97a4a4a3e7bf1dabb2e3.tar.gz
2007-08-11 Michael Snyder <msnyder@access-company.com>
* completer.c: Spelling fix in comments.
Diffstat (limited to 'gdb/completer.c')
-rw-r--r--gdb/completer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/completer.c b/gdb/completer.c
index 136eeb70361..617aa6a5d64 100644
--- a/gdb/completer.c
+++ b/gdb/completer.c
@@ -182,7 +182,7 @@ filename_completer (char *text, char *word)
/* There is no way to do this just long enough to affect quote inserting
without also affecting the next completion. This should be fixed in
readline. FIXME. */
- /* Insure that readline does the right thing
+ /* Ensure that readline does the right thing
with respect to inserting quotes. */
rl_completer_word_break_characters = "";
#endif
@@ -461,7 +461,7 @@ complete_line (const char *text, char *line_buffer, int point)
{
list = complete_on_cmdlist (cmdlist, p, word);
}
- /* Insure that readline does the right thing with respect to
+ /* Ensure that readline does the right thing with respect to
inserting quotes. */
rl_completer_word_break_characters =
gdb_completer_command_word_break_characters;
@@ -485,7 +485,7 @@ complete_line (const char *text, char *line_buffer, int point)
a subcommand (e.g. "info "). */
list = complete_on_cmdlist (*c->prefixlist, p, word);
- /* Insure that readline does the right thing
+ /* Ensure that readline does the right thing
with respect to inserting quotes. */
rl_completer_word_break_characters =
gdb_completer_command_word_break_characters;
@@ -551,7 +551,7 @@ complete_line (const char *text, char *line_buffer, int point)
list = complete_on_cmdlist (result_list, q, word);
- /* Insure that readline does the right thing
+ /* Ensure that readline does the right thing
with respect to inserting quotes. */
rl_completer_word_break_characters =
gdb_completer_command_word_break_characters;