From: Yao Qi Date: Sun, 6 Oct 2013 03:28:57 +0000 (+0000) Subject: gdb/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1cc47d81c98f06922a4fe4a6eace860f80135c72;p=binutils-gdb.git gdb/ * varobj.h: Add comments to enum varobj_languages. --- diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 5a18857556b..3d8d9364bdf 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2013-10-06 Yao Qi + + * varobj.h: Add comments to enum varobj_languages. + 2013-10-04 Doug Evans Add support for DWP file format version 2. diff --git a/gdb/varobj.h b/gdb/varobj.h index d4abb997626..b29e499d469 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