From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id RhmiNQoHYGnNITMAWB0awg (envelope-from ) for ; Thu, 08 Jan 2026 14:35:38 -0500 Received: by simark.ca (Postfix, from userid 112) id CA1261E0B6; Thu, 08 Jan 2026 14:35:38 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [38.145.34.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 642001E08D for ; Thu, 08 Jan 2026 14:35:38 -0500 (EST) Received: from vm01.sourceware.org (localhost [127.0.0.1]) by sourceware.org (Postfix) with ESMTP id 0AE314BA23E0 for ; Thu, 8 Jan 2026 19:35:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0AE314BA23E0 Received: from simark.ca (simark.ca [158.69.221.121]) by sourceware.org (Postfix) with ESMTPS id 69D164BA2E04 for ; Thu, 8 Jan 2026 19:35:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 69D164BA2E04 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=efficios.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=efficios.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 69D164BA2E04 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=158.69.221.121 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767900909; cv=none; b=vjj2rzcD0W/nn10tZVX6AeG5OzpuXIlW9Uj+RPKRbtd0ZyaL73UB3enT0uh2P4h9G08VNjdqJBbP45BoFA0s90iG1+6XaV1AC/EmPrFYJR8uEkT9bRTKnSUioUrKea658S+JbSzPYz3RqPNJ2QG4IJ5hXaLCg/Du+2hQknqcjPs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1767900909; c=relaxed/simple; bh=DUh+il29P0jU8a3vAv6j1u4m9rD5nrtcVKU46OpYvng=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=LO6vhCXwLzcx3xMOLsUf1SHXHogqVgkPQY3vLUGCH0RahMMdIZv8JmDNbDeRT8m2RUXVIU4aK0RYcy6Rac894fGP+gCzOrgGnz7gdxmBJmRAS29NPj583jSN9aDh7R8CS3akfzq+5SdacBnhLvw13C+/I05m7IdsWZNPB4T7HWw= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 69D164BA2E04 Received: by simark.ca (Postfix) id E6C1D1E08D; Thu, 08 Jan 2026 14:35:08 -0500 (EST) From: Simon Marchi To: gdb-patches@sourceware.org Cc: Simon Marchi Subject: [PATCH 0/8] More xcoffread cleanups Date: Thu, 8 Jan 2026 14:33:18 -0500 Message-ID: <20260108193507.553779-1-simon.marchi@efficios.com> X-Mailer: git-send-email 2.52.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org Here is another batch of cleanups for xcoffread.c, removing things that are no longer used. I didn't manage to build GDB on one of the the AIX machines on the compile farm. I did, however, copy an AIX executable to my Linux workstation and checked that GDB found what seemed to me like a sensible TOC offset value. Simon Marchi (8): gdb/xcoffread: remove name computation gdb/xcoffread: remove read of .debug section gdb/xcoffread: remove XCOFF_DATA macro gdb/xcoffread: remove xcoff_symfile_info::{symtbl,symtbl_num_syms} gdb/xcoffread: allocate symbol table using vector in scan_xcoff_symtab gdb/xcoffread: simplify xcoff_secnum_to_sections gdb/xcoffread: replace 2 switches with if gdb/xcoffread: stylistic cleanup gdb/xcoffread.c | 317 +++++++++++++----------------------------------- 1 file changed, 81 insertions(+), 236 deletions(-) base-commit: 3e5d318177d372278796cfbbb13a4d75966cffd1 -- 2.52.0