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/varobj.h | |
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/varobj.h')
-rw-r--r-- | gdb/varobj.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 |