From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 0k4bOBJYhWfd1Q0AWB0awg (envelope-from ) for ; Mon, 13 Jan 2025 13:14:42 -0500 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=YM3qwes4; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id D8D7C1E100; Mon, 13 Jan 2025 13:14:42 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.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 autolearn=ham autolearn_force=no version=4.0.0 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 465691E05C for ; Mon, 13 Jan 2025 13:14:42 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id D8C553857707 for ; Mon, 13 Jan 2025 18:14:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D8C553857707 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=YM3qwes4 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 4458D3858D21 for ; Mon, 13 Jan 2025 18:14:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4458D3858D21 Authentication-Results: sourceware.org; dmarc=pass (p=none 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 4458D3858D21 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736792050; cv=none; b=QFHJumMnDr6gD9W+SZA0LkN2ztHJE8r7OBpxIxoZXb6h4+k8fokVp0IcEsyEiLWrZmCOsqoRUwvYE0CqPskKL6PU1Hzdfbna7NDFpaWIN/Ws0GEk6tj5CUvpMmnraEQrkny0HYjQpAbg1wm00TLMykOCmPUMoSjfu0CLt5yjAQc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736792050; c=relaxed/simple; bh=QQ/wjMUKN/7AAOyUQf7cBle8KhWjdWUVu9tH1OELo8w=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=h+696a/VDMoYa+dbsbT5p5mei/LSxkkvo0AGC0vRW8cstakmaNP59gPbpscp2IjY03K4wq7wqCid8aQQ7h6CaRbn9K/fSjJMNQnXUpfMs7cVSxP9g34uLQ7xh5d8l6arynnQ8KhwRdYmTKFEmeUKzant6K1cMZGK5WBl2lPCZbE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4458D3858D21 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736792050; 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=Pz8g69YlH3OiFTc45mh0SotClVgQtvXjRjkW0lzJA48=; b=YM3qwes4v4CnHKapgEmp64PCZALdyQOP9cCpU8xl7IwCKXlUkJxn5WKfRuNaRxtmvHR2y8 IG9aOuYQbmyciMoywAEpluSOV0M0hsBstD1GLrqMDs/y1JMKo5+ald+I4gpR3JCRMWjL1q X0vgKaIrvWsrUjMCO2Zn5aTF60m27q4= Received: from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-627-FkTmBl7WNAWn0J_t-AaGlQ-1; Mon, 13 Jan 2025 13:14:08 -0500 X-MC-Unique: FkTmBl7WNAWn0J_t-AaGlQ-1 X-Mimecast-MFC-AGG-ID: FkTmBl7WNAWn0J_t-AaGlQ Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12]) (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-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id EF52D19560B7 for ; Mon, 13 Jan 2025 18:14:07 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.96.134.38]) by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 7C79D19560A7; Mon, 13 Jan 2025 18:14:06 +0000 (UTC) From: Guinevere Larsen To: gdb-patches@sourceware.org Cc: Guinevere Larsen Subject: [PATCH 1/1] gdb: Deprecate stabs debug info Date: Mon, 13 Jan 2025 15:13:59 -0300 Message-ID: <20250113181359.1286957-1-guinevere@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: wTGeWlRrx8v1-kYM9DFN066orkLgoiquw7TG2aJ9c4c_1736792048 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 GCC has deprecated stabs generation in GCC 12 and entirely removed it in GCC 13, which was released in April 2023. At the time it was proposed that GDB deprecate stabs as well, but the decision was to support it a bit longer. With this patch, it'll be deprecated on GDB 17, and removed on GDB 18, which following the current cadence, will be released early 2026, meaning we will have supported stabs for nearly 3 years longer than GCC, which I think is reasonable. As pointed out in the previous discussion on this topic[1], there are several existing issues on the code, and none of the current maintainers knows how to fix it. Unless someone steps up to fix this before the removal on GDB 18, I don't see why we should keep this old code that breaks all conventions of modern debuginfo readers and doesn't even work, instead of being able to further advance adjacent code. [1] https://inbox.sourceware.org/gdb-patches/20230119174156.654402-1-tom@tromey.com/ --- gdb/NEWS | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gdb/NEWS b/gdb/NEWS index f454846646e..685ecefbe1c 100644 --- a/gdb/NEWS +++ b/gdb/NEWS @@ -44,6 +44,9 @@ maintenance check symtabs ** New constant PARAM_COLOR represents color type of a value of a object. Parameter's value is instance. +* Support for stabs debugging format is deprecates, and will be + removed in GDB 18. + *** Changes in GDB 16 * Support for Nios II targets has been removed as this architecture -- 2.47.1