From a611b5cb00f47a47426bf1d4fdca9cf3b7eadb53 Mon Sep 17 00:00:00 2001 From: Keith Seitz Date: Fri, 8 Sep 2017 16:44:30 -0700 Subject: [PATCH] Remove unused field field_info.fnfields Since at least 7.3 the "fnfields" field in struct field_info has been unused. This patch simply removes it. gdb/ChangeLog: * dwarf2read.c (struct field_info) : Remove unused field. --- gdb/ChangeLog | 5 +++++ gdb/dwarf2read.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 941091bfda3..96369d5e5fe 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2017-09-08 Keith Seitz + + * dwarf2read.c (struct field_info) : Remove unused + field. + 2017-09-08 Christoph Weinmann * f-valprint.c (f_val_print): Remove check for one byte diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c index b3c5fabfc04..201a8575d82 100644 --- a/gdb/dwarf2read.c +++ b/gdb/dwarf2read.c @@ -1485,10 +1485,6 @@ struct field_info /* Set if the accesibility of one of the fields is not public. */ int non_public_fields; - /* Member function fields array, entries are allocated in the order they - are encountered in the object file. */ - struct nextfnfield *fnfields; - /* Member function fieldlist array, contains name of possibly overloaded member function, number of overloaded member functions and a pointer to the head of the member function field chain. */ -- 2.30.2