diff options
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 |