aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-01-11 11:15:26 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-01-11 11:15:26 -0500
commit4ad2da7317c11fbf09e8feb9948b446d30ba9ec2 (patch)
tree917e6c62ebcb16dcf6eb4af2e340ec1195624894
parentf2e2d2f54b462db40efac449f4d7724ae4728fe5 (diff)
downloadgdb-4ad2da7317c11fbf09e8feb9948b446d30ba9ec2.zip
gdb-4ad2da7317c11fbf09e8feb9948b446d30ba9ec2.tar.gz
gdb-4ad2da7317c11fbf09e8feb9948b446d30ba9ec2.tar.bz2
Fix typo in lookup_cmd_1 comment
gdb/ChangeLog: * cli/cli-decode.c (lookup_cmd_1): Fix typo in comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/cli/cli-decode.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 90d25cf..89bbb8f 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2017-01-11 Simon Marchi <simon.marchi@ericsson.com>
+
+ * cli/cli-decode.c (lookup_cmd_1): Fix typo in comment.
+
2017-01-10 Tom Tromey <tom@tromey.com>
* python/py-type.c (typy_legacy_template_argument): Update.
diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index d3be93c..436a7ed 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -1331,7 +1331,7 @@ valid_user_defined_cmd_name_p (const char *name)
if no prefix command was ever found. For example, in the case of "info a",
"info" matches without ambiguity, but "a" could be "args" or "address", so
*RESULT_LIST is set to the cmd_list_element for "info". So in this case
- RESULT_LIST should not be interpeted as a pointer to the beginning of a
+ RESULT_LIST should not be interpreted as a pointer to the beginning of a
list; it simply points to a specific command. In the case of an ambiguous
return *TEXT is advanced past the last non-ambiguous prefix (e.g.
"info t" can be "info types" or "info target"; upon return *TEXT has been