This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[commit/Ada] Add missing word in comment (ada-lang.c)


Subject says it all...

gdb/ChangeLog:

        * ada-lang.c (ada_evaluate_subexp): Add missing word in comment.

Checked in.

---
 gdb/ChangeLog  |    4 ++++
 gdb/ada-lang.c |    4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 699b40c..21b7b2e 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 3e30c9e..dd77852 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);
 
-- 
1.7.1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]