aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao Qi <yao@codesourcery.com>2013-09-12 21:21:16 +0800
committerYao Qi <yao@codesourcery.com>2013-11-19 15:14:01 +0800
commit8ab91b9600c1a21a45080f6cef6cd91abb85c9c4 (patch)
tree21d5d7e3d572f32ed9e6e3429ce149d165749025
parentdf7752b044d8ed316827f3887e5afe675d3d243a (diff)
downloadgdb-8ab91b9600c1a21a45080f6cef6cd91abb85c9c4.zip
gdb-8ab91b9600c1a21a45080f6cef6cd91abb85c9c4.tar.gz
gdb-8ab91b9600c1a21a45080f6cef6cd91abb85c9c4.tar.bz2
Fix typo
Hi, "It's" should be "Its". This patch is to fix it. Committed as obvious. gdb: 2013-11-19 Yao Qi <yao@codesourcery.com> * varobj.c (varobj_get_type): Fix typo.
-rw-r--r--gdb/ChangeLog4
-rw-r--r--gdb/varobj.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 62c0654..e296241 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,7 @@
+2013-11-19 Yao Qi <yao@codesourcery.com>
+
+ * varobj.c (varobj_get_type): Fix typo.
+
2013-11-19 Joel Brobecker <brobecker@adacore.com>
* python/py-value.c (is_intlike): Add TYPE_CODE_RANGE handling.
diff --git a/gdb/varobj.c b/gdb/varobj.c
index e2d5a86..b78969a 100644
--- a/gdb/varobj.c
+++ b/gdb/varobj.c
@@ -1046,7 +1046,7 @@ varobj_add_child (struct varobj *var, char *name, struct value *value)
char *
varobj_get_type (struct varobj *var)
{
- /* For the "fake" variables, do not return a type. (It's type is
+ /* For the "fake" variables, do not return a type. (Its type is
NULL, too.)
Do not return a type for invalid variables as well. */
if (CPLUS_FAKE_CHILD (var) || !var->root->is_valid)