This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH OB] Remove unused field field_info.fnfields
- From: Keith Seitz <keiths at redhat dot com>
- To: gdb-patches at sourceware dot org
- Date: Fri, 8 Sep 2017 17:05:31 -0700
- Subject: [PATCH OB] Remove unused field field_info.fnfields
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=keiths at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 28BC15AFC8
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