summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2011-07-01 18:25:59 +0000
committerJoel Brobecker <brobecker@gnat.com>2011-07-01 18:25:59 +0000
commit8f465ea731ea6181bdbc86b36dc2df0b9b1f8520 (patch)
tree77c54932941d543e1e423dbd6f5bdc790e193fd9
parent828292f27174a8fe1c0fba0d1ba99ca815b3233b (diff)
downloadbinutils-gdb-8f465ea731ea6181bdbc86b36dc2df0b9b1f8520.tar.gz
Add missing word in comment (ada-lang.c)
gdb/ChangeLog: * ada-lang.c (ada_evaluate_subexp): Add missing word in comment.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/ada-lang.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 699b40caf1c..21b7b2ec9e7 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2011-07-01 Joel Brobecker <brobecker@adacore.com>
+
+ * ada-lang.c (ada_evaluate_subexp): Add missing word in comment.
+
2011-07-01 Eric Botcazou <ebotcazou@adacore.com>
* ada-lang.c (thin_descriptor_type): Deal with typedefs.
diff --git a/gdb/ada-lang.c b/gdb/ada-lang.c
index 3e30c9ed975..dd77852a2d9 100644
--- a/gdb/ada-lang.c
+++ b/gdb/ada-lang.c
@@ -9386,8 +9386,8 @@ ada_evaluate_subexp (struct type *expect_type, struct expression *exp,
type = ada_check_typedef (value_type (argvec[0]));
/* Ada allows us to implicitly dereference arrays when subscripting
- them. So, if this is an typedef (encoding use for array access
- types encoded as fat pointers), strip it now. */
+ them. So, if this is an array typedef (encoding use for array
+ access types encoded as fat pointers), strip it now. */
if (TYPE_CODE (type) == TYPE_CODE_TYPEDEF)
type = ada_typedef_target_type (type);