From patchwork Fri May 3 23:12:27 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Tromey X-Patchwork-Id: 32532 Received: (qmail 2364 invoked by alias); 3 May 2019 23:12:56 -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 731 invoked by uid 89); 3 May 2019 23:12:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-19.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1023 X-HELO: gateway30.websitewelcome.com Received: from gateway30.websitewelcome.com (HELO gateway30.websitewelcome.com) (50.116.126.1) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 03 May 2019 23:12:42 +0000 Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway30.websitewelcome.com (Postfix) with ESMTP id D777F5A53 for ; Fri, 3 May 2019 18:12:40 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id MhM8hcYRpdnCeMhM8hMCSK; Fri, 03 May 2019 18:12:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From: Sender:Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fJQY51D/2e5kV6foJJrki225GFgNURWvo8sV1ZcbVeg=; b=qc+oCy8uu7RE66vrcCRm+dLa5f VJDafNm8ESgfANwnc/3bBHFTTA3rkWNbWldpbnWN7RToMayWbX/hbEmRxAijIS9z8936Mo1IItSVC TJf8eqBX0h1Wyy2Jq8fRb+8IC; Received: from 97-122-168-123.hlrn.qwest.net ([97.122.168.123]:37502 helo=bapiya.Home) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1hMhM8-003AAO-MI; Fri, 03 May 2019 18:12:40 -0500 From: Tom Tromey To: gdb-patches@sourceware.org Cc: Tom Tromey Subject: [PATCH v2 27/31] Remove mips_pdr_data Date: Fri, 3 May 2019 17:12:27 -0600 Message-Id: <20190503231231.8954-28-tom@tromey.com> In-Reply-To: <20190503231231.8954-1-tom@tromey.com> References: <20190503231231.8954-1-tom@tromey.com> mips_pdr_data is unused, so this patch removes it. 2019-05-01 Tom Tromey * mips-tdep.c (mips_pdr_data): Remove. (_initialize_mips_tdep): Update. --- gdb/ChangeLog | 5 +++++ gdb/mips-tdep.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gdb/mips-tdep.c b/gdb/mips-tdep.c index f3361388225..3fb53bc76da 100644 --- a/gdb/mips-tdep.c +++ b/gdb/mips-tdep.c @@ -58,8 +58,6 @@ #include "target-float.h" #include -static const struct objfile_data *mips_pdr_data; - static struct type *mips_register_type (struct gdbarch *gdbarch, int regnum); static int mips32_instruction_has_delay_slot (struct gdbarch *gdbarch, @@ -8985,8 +8983,6 @@ _initialize_mips_tdep (void) gdbarch_register (bfd_arch_mips, mips_gdbarch_init, mips_dump_tdep); - mips_pdr_data = register_objfile_data (); - /* Create feature sets with the appropriate properties. The values are not important. */ mips_tdesc_gp32 = allocate_target_description ();