From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id /HJEFXlV9miGUwAAWB0awg (envelope-from ) for ; Mon, 20 Oct 2025 11:30:01 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fs0kmSt3; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 314C91E047; Mon, 20 Oct 2025 11:30:01 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,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 server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (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 9CD851E047 for ; Mon, 20 Oct 2025 11:30:00 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 219973858C5E for ; Mon, 20 Oct 2025 15:30:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 219973858C5E Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=fs0kmSt3 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 9F5A93858D35 for ; Mon, 20 Oct 2025 15:29:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9F5A93858D35 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9F5A93858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760974165; cv=none; b=IvBiVRQhsUV4TtQxnH4SMeYG0jJzqPJwDVB5awpLyY8l++osjYlYEx5Or6cd9FTt+pb54/IsSzF9wUbfD9bTGiczViCFvPtP+x65K4kCpBuaZp8XTNAu3zmwqEOUyC1uIVRGno12Zqmkg3bYYS9KppcEMn6W/jiHSQ49XG4yUEY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1760974165; c=relaxed/simple; bh=lO8UIcBMSF9bUVl2b6kIkNXoKnHAIJpr6OygpODiyMI=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=sM12vn9uIjJNUHVCCwLALa++FEr/7/Q9dHjMR4g6ouHvwP82KLs76R09iFRvElJ1NcZ2y5mV6wGVl8zJjPKt72E18r+PR7z4fkDpJrfkTto4bu1i6PkYs+W4VM4WpRdFiAzumN4vVklwuKK0wHB5dSf6GJX4HXtVLKcRjBmcyqk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9F5A93858D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1760974165; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FfUsC3awC98aHl2wQDQV1zvfQuFf66sd+5iQ4UdV1WQ=; b=fs0kmSt3QxPw7H+XtnDGYP75NECK+LOhxGv4osuKOS0EELdJBs4bM6+jn9IeI1ABTCkmQX /Y1BaZ4guqTEpgK23FnFm1WZuZHUmT2rH9esuWBneXLrLPkk3XZIY3+P+QGSbwRON3Isea fGWMaAbqDp6eJgrspY8STaoaFyC9QAo= Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-54-kMwSgHXaP-GO8Lnw0sj1_Q-1; Mon, 20 Oct 2025 11:29:24 -0400 X-MC-Unique: kMwSgHXaP-GO8Lnw0sj1_Q-1 X-Mimecast-MFC-AGG-ID: kMwSgHXaP-GO8Lnw0sj1_Q_1760974163 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 078AD1800345 for ; Mon, 20 Oct 2025 15:29:23 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.96.134.25]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id A85A81800578; Mon, 20 Oct 2025 15:29:21 +0000 (UTC) From: Guinevere Larsen To: gdb-patches@sourceware.org Cc: Guinevere Larsen Subject: [PATCH v2 0/8] Remove stabs support from GDB Date: Mon, 20 Oct 2025 12:28:44 -0300 Message-ID: <20251020152853.28195-1-guinevere@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: qcwm2OJ47_JoOXrDrgX74ll6Lix-fbM5flHhZ1L0wUY_1760974163 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit content-type: text/plain; charset="US-ASCII"; x-default=true 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 Now that GDB 17 has branched, I think we're ready to remov stabs from GDB entirely, and the sooner this is merged, the earlier we'll spot any problems and the more time will be there to fix them. This series does just that. Guinevere Larsen (8): gdb: move some stabs functions to gdb/buildsym-legacy.h gdb/mdebug: Remove stabs support from mips inferiors gdb: Remove stabs support from ELF files gdb: Remove stabs support from dbx gdb: Remove stabs support for COFF files gdb: Remove stabs support from XCOFF inferiors gdb: Fully remove stabs code from GDB gdb: remove support for dbx from GDB gdb/Makefile.in | 8 +- gdb/NEWS | 4 + gdb/arch-utils.c | 6 - gdb/arch-utils.h | 3 - gdb/buildsym-legacy.h | 10 + gdb/buildsym.c | 18 - gdb/coffread.c | 133 +- gdb/configure | 6 +- gdb/configure.ac | 4 +- gdb/dbxread.c | 254 - gdb/doc/Makefile.in | 46 +- gdb/doc/gdb.texinfo | 23 +- gdb/doc/stabs.texinfo | 4130 --------------- gdb/elfread.c | 146 +- gdb/gdb-stabs.h | 176 - gdb/gdbarch-gen.c | 22 - gdb/gdbarch-gen.h | 4 - gdb/gdbarch_components.py | 8 - gdb/mdebugread.c | 1781 ++----- gdb/microblaze-tdep.c | 8 - gdb/mipsread.c | 2 - gdb/objfiles.h | 3 - gdb/rs6000-aix-nat.c | 1 - gdb/sparc-tdep.c | 10 - gdb/sparc64-tdep.c | 2 - gdb/stabsread.c | 7217 -------------------------- gdb/stabsread.h | 314 -- gdb/symmisc.c | 3 - gdb/testsuite/gdb.stabs/aout.sed | 16 - gdb/testsuite/gdb.stabs/ecoff.sed | 17 - gdb/testsuite/gdb.stabs/exclfwd.exp | 57 - gdb/testsuite/gdb.stabs/exclfwd.h | 21 - gdb/testsuite/gdb.stabs/exclfwd1.c | 34 - gdb/testsuite/gdb.stabs/exclfwd2.c | 29 - gdb/testsuite/gdb.stabs/gdb11479.c | 76 - gdb/testsuite/gdb.stabs/gdb11479.exp | 59 - gdb/testsuite/gdb.stabs/hppa.sed | 20 - gdb/testsuite/gdb.stabs/weird.def | 900 ---- gdb/testsuite/gdb.stabs/weird.exp | 309 -- gdb/testsuite/gdb.stabs/xcoff.sed | 17 - gdb/testsuite/lib/gdb.exp | 6 + gdb/xcoffread.c | 2014 +------ 42 files changed, 544 insertions(+), 17373 deletions(-) delete mode 100644 gdb/dbxread.c delete mode 100644 gdb/doc/stabs.texinfo delete mode 100644 gdb/gdb-stabs.h delete mode 100644 gdb/stabsread.c delete mode 100644 gdb/stabsread.h delete mode 100644 gdb/testsuite/gdb.stabs/aout.sed delete mode 100644 gdb/testsuite/gdb.stabs/ecoff.sed delete mode 100644 gdb/testsuite/gdb.stabs/exclfwd.exp delete mode 100644 gdb/testsuite/gdb.stabs/exclfwd.h delete mode 100644 gdb/testsuite/gdb.stabs/exclfwd1.c delete mode 100644 gdb/testsuite/gdb.stabs/exclfwd2.c delete mode 100644 gdb/testsuite/gdb.stabs/gdb11479.c delete mode 100644 gdb/testsuite/gdb.stabs/gdb11479.exp delete mode 100644 gdb/testsuite/gdb.stabs/hppa.sed delete mode 100644 gdb/testsuite/gdb.stabs/weird.def delete mode 100644 gdb/testsuite/gdb.stabs/weird.exp delete mode 100644 gdb/testsuite/gdb.stabs/xcoff.sed base-commit: b9e48061e06ec0c181757c9e80cc4dc72d614f4f -- 2.51.0