Skip to content

Commit

Permalink
gdb/
Browse files Browse the repository at this point in the history
	* varobj.c (struct language_specific) <language>: Remove.
	(languages): Update the initialization.
  • Loading branch information
Yao Qi committed Oct 1, 2013
1 parent 29f9ebf commit 5625025
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
5 changes: 5 additions & 0 deletions gdb/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2013-10-01 Yao Qi <[email protected]>

* varobj.c (struct language_specific) <language>: Remove.
(languages): Update the initialization.

2013-10-01 Yao Qi <[email protected]>

* arm-wince-tdep.c: Remove inclusion of "solib.h" and
Expand Down
9 changes: 0 additions & 9 deletions gdb/varobj.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,6 @@ static int ada_value_has_mutated (struct varobj *var, struct value *new_val,

struct language_specific
{

/* The language of this variable. */
enum varobj_languages language;

/* The number of children of PARENT. */
int (*number_of_children) (struct varobj * parent);

Expand Down Expand Up @@ -458,7 +454,6 @@ struct language_specific
static struct language_specific languages[vlang_end] = {
/* Unknown (try treating as C). */
{
vlang_unknown,
c_number_of_children,
c_name_of_variable,
c_name_of_child,
Expand All @@ -472,7 +467,6 @@ static struct language_specific languages[vlang_end] = {
,
/* C */
{
vlang_c,
c_number_of_children,
c_name_of_variable,
c_name_of_child,
Expand All @@ -486,7 +480,6 @@ static struct language_specific languages[vlang_end] = {
,
/* C++ */
{
vlang_cplus,
cplus_number_of_children,
cplus_name_of_variable,
cplus_name_of_child,
Expand All @@ -500,7 +493,6 @@ static struct language_specific languages[vlang_end] = {
,
/* Java */
{
vlang_java,
java_number_of_children,
java_name_of_variable,
java_name_of_child,
Expand All @@ -513,7 +505,6 @@ static struct language_specific languages[vlang_end] = {
NULL /* value_has_mutated */},
/* Ada */
{
vlang_ada,
ada_number_of_children,
ada_name_of_variable,
ada_name_of_child,
Expand Down

0 comments on commit 5625025

Please sign in to comment.