From patchwork Sat Sep 9 00:05:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Keith Seitz X-Patchwork-Id: 22769 Received: (qmail 30787 invoked by alias); 9 Sep 2017 00:05:35 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 30404 invoked by uid 89); 9 Sep 2017 00:05:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 09 Sep 2017 00:05:33 +0000 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 28BC15AFC8 for ; Sat, 9 Sep 2017 00:05:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 28BC15AFC8 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@redhat.com Received: from valrhona.Home (ovpn04.gateway.prod.ext.phx2.redhat.com [10.5.9.4]) by smtp.corp.redhat.com (Postfix) with ESMTP id 035DD600C0 for ; Sat, 9 Sep 2017 00:05:31 +0000 (UTC) From: Keith Seitz To: gdb-patches@sourceware.org Subject: [PATCH OB] Remove unused field field_info.fnfields Date: Fri, 8 Sep 2017 17:05:31 -0700 Message-Id: <1504915531-15541-1-git-send-email-keiths@redhat.com> X-IsSubscribed: yes 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 941091b..96369d5 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 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. */