aboutsummaryrefslogtreecommitdiff
path: root/gdb/jv-lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/jv-lang.c')
-rw-r--r--gdb/jv-lang.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdb/jv-lang.c b/gdb/jv-lang.c
index 443e243..2acf592 100644
--- a/gdb/jv-lang.c
+++ b/gdb/jv-lang.c
@@ -501,7 +501,6 @@ java_link_class_type (struct gdbarch *gdbarch,
temp = clas;
nmethods = value_as_long (value_struct_elt (&temp, NULL, "method_count",
NULL, "structure"));
- TYPE_NFN_FIELDS_TOTAL (type) = nmethods;
j = nmethods * sizeof (struct fn_field);
fn_fields = (struct fn_field *)
obstack_alloc (&objfile->objfile_obstack, j);