aboutsummaryrefslogtreecommitdiff
path: root/gdb/varobj.h
diff options
context:
space:
mode:
authorJean-Charles Delay <jcd@sourceware.org>2011-07-18 09:21:43 +0000
committerJean-Charles Delay <jcd@sourceware.org>2011-07-18 09:21:43 +0000
commit40591b7d6426f9d64162fa372a6d2a161cbe837a (patch)
treefc13d4ab298de7a8806ea6106902c70e1105466f /gdb/varobj.h
parentd5b4a7be2c2c884a4e2d752c1055efd164bc8067 (diff)
downloadgdb-40591b7d6426f9d64162fa372a6d2a161cbe837a.zip
gdb-40591b7d6426f9d64162fa372a6d2a161cbe837a.tar.gz
gdb-40591b7d6426f9d64162fa372a6d2a161cbe837a.tar.bz2
gdb/
* varobj.h (varobj_languages): Add vlang_ada definition to the list of supported languages. * varobj.c: Add top definitions and basic implementation of the following callbacks: ada_number_of_children, ada_name_of_variable, ada_name_of_child, ada_path_expr_of_child, ada_value_of_root, ada_value_of_child, ada_type_of_child, ada_value_of_variable. (languages): Register Ada-specific callbacks. (variable_language): Add the Ada case in the language setter switch.
Diffstat (limited to 'gdb/varobj.h')
-rw-r--r--gdb/varobj.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/varobj.h b/gdb/varobj.h
index ef984c8..7bf87d9 100644
--- a/gdb/varobj.h
+++ b/gdb/varobj.h
@@ -56,7 +56,7 @@ extern char *varobj_format_string[];
/* Languages supported by this variable objects system. */
enum varobj_languages
{
- vlang_unknown = 0, vlang_c, vlang_cplus, vlang_java, vlang_end
+ vlang_unknown = 0, vlang_c, vlang_cplus, vlang_java, vlang_ada, vlang_end
};
/* String representations of gdb's known languages (defined in varobj.c). */