gdb/
authorYao Qi <yao@codesourcery.com>
Sun, 6 Oct 2013 03:28:57 +0000 (03:28 +0000)
committerYao Qi <yao@codesourcery.com>
Sun, 6 Oct 2013 03:28:57 +0000 (03:28 +0000)
* varobj.h: Add comments to enum varobj_languages.

gdb/ChangeLog
gdb/varobj.h

index 5a18857556b96a69750a82795ab7d48416bd008c..3d8d9364bdf042ca7b5afd7946442dc6c2296655 100644 (file)
@@ -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.
index d4abb99762660f0bdc6af61ad66849a89150f419..b29e499d469065f276c36ab704005508f56f3a3c 100644 (file)
@@ -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
This page took 0.041531 seconds and 4 git commands to generate.