From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by sourceware.org (Postfix) with ESMTPS id F3B32396E864 for ; Thu, 1 Jul 2021 14:39:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F3B32396E864 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=JohnEricson.me Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=JohnEricson.me Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id EA7FE32008FF for ; Thu, 1 Jul 2021 10:39:11 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Thu, 01 Jul 2021 10:39:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnericson.me; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=XVQH/Mheo22nRHKSZzaA3/TT+6 bbPjF/fz5Chm52dAc=; b=I/fZpzQzt/0Aib/Fg0JRPFtje/UMzaU2xANehJyXAA LRw+I2EnDQuBgJIgtSCppNaxI0fyMPCAVlH6wFxOsidsCSBSXWpW3iTpQv06P1d4 5BwRAK1URTsZE1xMzAEZv2d7vbS6N9rjL9qUiMYmveFhzDp4MBYGKJIt5YOcWn8e //4v89fOlNrdHApJVGDjDQxxV9URu+L0JMRmTJ/GKeqhi1VK5r1fZPOoFTagEbkT xjcOwe/pI55WaMVirI1lOG72t/cbdHnI6t4i6plsyX1AjK0eVhJGuPv7uYjdfOU1 5LiVJfUyx4/O5obpSDCHXgyHM+EIfG4mp7QvqC7NFjrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=XVQH/Mheo22nRHKSZ zaA3/TT+6bbPjF/fz5Chm52dAc=; b=uACOjwMoJvx9wB6z0eAdLTdfcb+UG5Dx4 f5o2mimYqaoVXaYWXPAXEP6YdU6koZB5Ykw+wkhmNKHaD/ZfFPotBUm3RB5UHltk LcnBlVfEGxbuGRxVo2LV0bCPtyza22UuqIF7qobBoRX8A6ovxhmgyZ/mklnA1+TZ 1d6ZAfCqAyLOFzYz8kuKg5fhbeEkrNxMwxj4fegLMY7YBVqDGw1dz+UD+icBcRJy c8pmu76mkKkGLNL9K9C5meDvSsmQR+m0txZPGTw/KR93WkiEQhoe8EBia+8mO1hj kB2x3SXJfslpumej8vy1R/WcTG5HITT296WmCuuP4UwfsD9pECk3g== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeeiiedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomheplfhohhhnucfgrhhitghsohhnuceoghhitheslfhohhhngfhrihgt shhonhdrmhgvqeenucggtffrrghtthgvrhhnpeevudelleelleeiveelvdeitdelveehie dtveejkedtveetieduteeguedvtedufeenucffohhmrghinhepshhouhhrtggvfigrrhgv rdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epghhitheslfhohhhngfhrihgtshhonhdrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Thu, 1 Jul 2021 10:39:11 -0400 (EDT) From: John Ericson To: gdb@sourceware.org Subject: [PATCH] Fix some dangling references to `netbsd-tdep` Date: Thu, 1 Jul 2021 10:38:44 -0400 Message-Id: <20210701143844.2129571-1-git@JohnEricson.me> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, JMQ_SPF_NEUTRAL, KAM_INFOUSMEBIZ, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jul 2021 14:39:14 -0000 These files were renamed in 1b71cfcfdc3e13a655fefa6566b5564cec044c10, but evidentially a few dangling references were left behind. N.B. Originally submitted to the binutils list by mistake as https://sourceware.org/pipermail/binutils/2021-June/117186.html . --- gdb/configure.tgt | 8 ++++---- gdb/netbsd-tdep.c | 4 ++-- gdb/sparc-tdep.h | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gdb/configure.tgt b/gdb/configure.tgt index a928c0227a0..643973917fe 100644 --- a/gdb/configure.tgt +++ b/gdb/configure.tgt @@ -105,7 +105,7 @@ case "${targ}" in *-*-freebsd* | *-*-kfreebsd*-gnu) os_obs="fbsd-tdep.o solib-svr4.o";; *-*-netbsd* | *-*-knetbsd*-gnu) - os_obs="nbsd-tdep.o solib-svr4.o";; + os_obs="netbsd-tdep.o solib-svr4.o";; *-*-openbsd*) os_obs="obsd-tdep.o solib-svr4.o";; esac @@ -146,7 +146,7 @@ alpha*-*-netbsd* | alpha*-*-knetbsd*-gnu) alpha*-*-openbsd*) # Target: OpenBSD/alpha gdb_target_obs="alpha-mdebug-tdep.o alpha-bsd-tdep.o \ - alpha-netbsd-tdep.o alpha-obsd-tdep.o nbsd-tdep.o" + alpha-netbsd-tdep.o alpha-obsd-tdep.o netbsd-tdep.o" ;; am33_2.0*-*-linux*) @@ -632,14 +632,14 @@ sparc64-*-netbsd* | sparc64-*-knetbsd*-gnu) sparc-*-openbsd*) # Target: OpenBSD/sparc gdb_target_obs="sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \ - nbsd-tdep.o bsd-uthread.o \ + netbsd-tdep.o bsd-uthread.o \ ravenscar-thread.o sparc-ravenscar-thread.o" ;; sparc64-*-openbsd*) # Target: OpenBSD/sparc64 gdb_target_obs="sparc64-tdep.o sparc64-netbsd-tdep.o sparc64-obsd-tdep.o \ sparc-tdep.o sparc-netbsd-tdep.o sparc-obsd-tdep.o \ - nbsd-tdep.o bsd-uthread.o \ + netbsd-tdep.o bsd-uthread.o \ ravenscar-thread.o sparc-ravenscar-thread.o" ;; sparc-*-solaris2* | sparcv9-*-solaris2* | sparc64-*-solaris2*) diff --git a/gdb/netbsd-tdep.c b/gdb/netbsd-tdep.c index 3b879b6856d..965ecfb0f18 100644 --- a/gdb/netbsd-tdep.c +++ b/gdb/netbsd-tdep.c @@ -520,7 +520,7 @@ nbsd_get_siginfo_type (struct gdbarch *gdbarch) return siginfo_type; } -/* See nbsd-tdep.h. */ +/* See netbsd-tdep.h. */ void nbsd_info_proc_mappings_header (int addr_bit) @@ -607,7 +607,7 @@ nbsd_get_syscall_number (struct gdbarch *gdbarch, thread_info *thread) internal_error (__FILE__, __LINE__, _("nbsd_get_sycall_number called")); } -/* See nbsd-tdep.h. */ +/* See netbsd-tdep.h. */ void nbsd_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) diff --git a/gdb/sparc-tdep.h b/gdb/sparc-tdep.h index 95f6a44a401..c0cfd09a6de 100644 --- a/gdb/sparc-tdep.h +++ b/gdb/sparc-tdep.h @@ -245,7 +245,7 @@ extern int sparc_is_annulled_branch_insn (CORE_ADDR pc); extern const struct sparc_gregmap sparc32_sol2_gregmap; extern const struct sparc_fpregmap sparc32_sol2_fpregmap; -/* Functions and variables exported from sparcnbsd-tdep.c. */ +/* Functions and variables exported from sparc-netbsd-tdep.c. */ /* Register offsets for NetBSD. */ extern const struct sparc_gregmap sparc32nbsd_gregmap; -- 2.31.1