From a57e89792d833f391453274ee62a933a7db90c11 Mon Sep 17 00:00:00 2001 From: qiyao Date: Tue, 1 Oct 2013 13:40:26 +0000 Subject: gdb/ * varobj.c (varobj_format_string): Remove "unknown". (languages): Remove the first element. * varobj.h (enum varobj_languages): Remove vlang_c. --- gdb/varobj.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'gdb/varobj.c') diff --git a/gdb/varobj.c b/gdb/varobj.c index f613b1b774f..bcf62dca012 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -62,7 +62,7 @@ char *varobj_format_string[] = { "natural", "binary", "decimal", "hexadecimal", "octal" }; /* String representations of gdb's known languages. */ -char *varobj_language_string[] = { "unknown", "C", "C++", "Java" }; +char *varobj_language_string[] = { "C", "C++", "Java" }; /* True if we want to allow Python-based pretty-printing. */ static int pretty_printing = 0; @@ -452,19 +452,6 @@ struct language_specific /* Array of known source language routines. */ static struct language_specific languages[vlang_end] = { - /* Unknown (try treating as C). */ - { - c_number_of_children, - c_name_of_variable, - c_name_of_child, - c_path_expr_of_child, - c_value_of_root, - c_value_of_child, - c_type_of_child, - c_value_of_variable, - default_value_is_changeable_p, - NULL /* value_has_mutated */} - , /* C */ { c_number_of_children, -- cgit v1.2.1