[PATCH OB] Remove unused field field_info.fnfields
Keith Seitz
keiths@redhat.com
Sat Sep 9 00:05:00 GMT 2017
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) <fnfields>: 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 941091b..96369d5 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2017-09-08 Keith Seitz <keiths@redhat.com>
+
+ * dwarf2read.c (struct field_info) <fnfields>: Remove unused
+ field.
+
2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
* f-valprint.c (f_val_print): Remove check for one byte
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index b3c5fab..201a857 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.1.0
More information about the Gdb-patches
mailing list