diff options
author | Yao Qi <yao@codesourcery.com> | 2013-10-06 03:28:57 +0000 |
---|---|---|
committer | Yao Qi <yao@codesourcery.com> | 2013-10-06 03:28:57 +0000 |
commit | 1cc47d81c98f06922a4fe4a6eace860f80135c72 (patch) | |
tree | fad4981de92bcae4a1e4a0b1ee430129e15752a6 /gdb | |
parent | c080eea7b27f8ae581dcec7660ef9feba039722b (diff) | |
download | gdb-1cc47d81c98f06922a4fe4a6eace860f80135c72.zip gdb-1cc47d81c98f06922a4fe4a6eace860f80135c72.tar.gz gdb-1cc47d81c98f06922a4fe4a6eace860f80135c72.tar.bz2 |
gdb/
* varobj.h: Add comments to enum varobj_languages.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/varobj.h | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5a18857..3d8d936 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-10-06 Yao Qi <yao@codesourcery.com> + + * varobj.h: Add comments to enum varobj_languages. + 2013-10-04 Doug Evans <dje@google.com> Add support for DWP file format version 2. diff --git a/gdb/varobj.h b/gdb/varobj.h index d4abb99..b29e499 100644 --- a/gdb/varobj.h +++ b/gdb/varobj.h @@ -52,7 +52,8 @@ enum varobj_scope_status /* String representations of gdb's format codes (defined in varobj.c). */ extern char *varobj_format_string[]; -/* Languages supported by this variable objects system. */ +/* Languages supported by this variable objects system. This enum is used + to index arrays so we make its first enum explicitly zero. */ enum varobj_languages { vlang_c = 0, vlang_cplus, vlang_java, vlang_ada, vlang_end |