diff options
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/varobj.c | 2 |
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) |