From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id a9hxA5ndl2emdBwAWB0awg (envelope-from ) for ; Mon, 27 Jan 2025 14:25:13 -0500 Authentication-Results: simark.ca; dkim=pass (2048-bit key; unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=oezmRJEm; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DBD191E105; Mon, 27 Jan 2025 14:25:12 -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 E40BC1E08E for ; Mon, 27 Jan 2025 14:25:10 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 637663858427 for ; Mon, 27 Jan 2025 19:25:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 637663858427 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=gnu.org header.i=@gnu.org header.a=rsa-sha256 header.s=fencepost-gnu-org header.b=oezmRJEm Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 71F2E3858D37 for ; Mon, 27 Jan 2025 19:24:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 71F2E3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 71F2E3858D37 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738005878; cv=none; b=fpytu78ltmM7n8cKSWiCBrDoZQu9UXPIfN3GaerNh/4NI40md21YrhW+gz/FirXeTE8wpw9MN2VUHtf84GuRWvo7iy6kfwZ2URcnFDWwd64a8HAR2HG8naw2Kh1oHrwy/RzIiWISfWQ9toPTciP3ce5yORRMSQznbScsFREcruE= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738005878; c=relaxed/simple; bh=5uneSV3ER4pehE5GkkXBdMZUa4ribYbx05CfaqU95rY=; h=DKIM-Signature:Date:Message-Id:From:To:Subject; b=WLiGwZ2v8k5PE4+ooPz/VWhujRgPai3BqpGKMj2GDPnvL2moWrP8LHy3KYluUifRwRBD5YvIn/4vB+Omy3BltAXUHLI31xLI9pmFz5Qm5R5UWAVxTmxQ4us9KjA3r94wZJ2BrFEIR7sF25V1E5KXV+SNIm7SssRGQxhwIKkDPIc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 71F2E3858D37 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tcUir-0000SO-Ie; Mon, 27 Jan 2025 14:24:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Iiu9r72ib2e1QnuTZFP5Sms8GYZU85UIodjUv6yg9TA=; b=oezmRJEmFh+Q r0iEcD7pmHTvtzxrbgyX3IoPPU51EA6+6RBt7jBZKLkWLe7ZpiNWYA/V8o9Ezt1KwKR2YvLy0Y0zL Ek7MsMjxhyPOqo9ojC4nVEhC7m5Vcz+2tm+WiAxTJGUs/MRgs06jlZAiqaXXwgOzowdIQXcV2TQj+ pMVRzO4M6q7D499LSAtGbGa+tkvvUS2dixz9XFhOgOBTsv02QBDQ1pVd9c7sx7Y6b80EFwQIboRHY 9UbvlAXMHIiumUb6Nso99qqh9Z2kc2y4GpqgpTBHx0OFXaT1PbZKyIOhArRhxpfL63UxMX9EuZ/NM Gk6wTf1X0qQTGBq2KXOvcg==; Date: Mon, 27 Jan 2025 21:24:33 +0200 Message-Id: <86zfjcnjpq.fsf@gnu.org> From: Eli Zaretskii To: Guinevere Larsen Cc: gdb-patches@sourceware.org In-Reply-To: <20250127184750.315584-1-guinevere@redhat.com> (message from Guinevere Larsen on Mon, 27 Jan 2025 15:47:50 -0300) Subject: Re: [PATCH v2] gdb: Deprecate stabs debug info References: <20250113181359.1286957-1-guinevere@redhat.com> <20250127184750.315584-1-guinevere@redhat.com> 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 > From: Guinevere Larsen > Cc: Guinevere Larsen > Date: Mon, 27 Jan 2025 15:47:50 -0300 > > 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. > > Finally, deprecating and removing stabs will make a.out/dbx inferiors be > essentially unsupported, as the only debuginfo GDB supports for those > formats is stabs, meaning users would only have assembly-level debugging > for that format. With that in mind, this commit deprecates the a.out/dbx > format as well. > > [1] https://inbox.sourceware.org/gdb-patches/20230119174156.654402-1-tom@tromey.com/ > > Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31210 > --- > gdb/NEWS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gdb/NEWS b/gdb/NEWS > index eec7cf4695d..92006c85e97 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -46,6 +46,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 and the a.out/dbx object format is > + deprecated, and will be removed in GDB 18. > + > *** Changes in GDB 16 > > * Support for Nios II targets has been removed as this architecture > -- This is okay, provided that everyone agrees with this schedule (I'm just okaying the change to NEWS here).