From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id CEB343858D20 for ; Wed, 30 Aug 2023 17:58:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CEB343858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gnu.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gnu.org 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 1qbPSk-00024A-0M; Wed, 30 Aug 2023 13:58:42 -0400 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=JknqpXpj64wUU4OnCZ5daZUV1YBefDLRQt5byLfCoyg=; b=TXZyflF8tsGg QFA4UlgKR6qtaD3yvSpjLUxbf3iC3YRRoyPtudGLEWyPI34KuYskWLKjyIyqY88fHBX1NDkkui/6f O7LUytXF1d/4ZfmQ0yBaq0VMF7qB6hWjy4yYtfCiL8k249YDcvp0zPEz+Awxhss/CTvePYdNFumnr EhbCOVjSoPcLVZDu9zFJSYfHQzTulLNKR1kdzR4APsDPYYIEdxqJtr4DLxAqc1RV1xsofxSYyzlpw gDWcBvDej+W7DYT8m+gVZBrjWcANuYIO6v0oZgVN7z21K/WZXTQ3uqnHrJYvT3DMrfEPu50u/UFRx vrf0Hphe49NWsE2x/3NAyg==; Date: Wed, 30 Aug 2023 20:58:23 +0300 Message-Id: <83ledsfm4g.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey Cc: pedro@palves.net, gdb-patches@sourceware.org In-Reply-To: <87sf802zhi.fsf@tromey.com> (message from Tom Tromey on Wed, 30 Aug 2023 11:48:09 -0600) Subject: Re: [RFC] Deprecate stabs References: <20230119174156.654402-1-tom@tromey.com> <0d183bc4-8c59-ac65-91c3-3477e7bb2546@palves.net> <87sf802zhi.fsf@tromey.com> X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > From: Tom Tromey > Cc: Tom Tromey , gdb-patches@sourceware.org > Date: Wed, 30 Aug 2023 11:48:09 -0600 > > Pedro> My position with stabs for years had been that, as long as GCC needs it for some ports, > Pedro> we should keep it. Since GCC has since removed support for stabs, I think we're now > Pedro> free to remove it too. > > Pedro> I think we should mark stabs deprecated for GDB 14. We can discuss more when to actually > Pedro> remove it, but IMO, the sooner we mark it deprecated, the sooner people will be aware of our > Pedro> intentions. FWIW, I do support removing it in GDB 15. > > It's maybe a little late for 14/15 now. > > I'm thinking I will send email to gdb@ and push the NEWS patch after the > 14 branch is made. That is, deprecate in 15 and remove in 16. > > I have also been wondering if some of the other debug formats are still > relevant. My suspicion is that they are long since obsolete. Not obsolete, broken. They simply don't work, and for quite some time. The few platforms which still need them cannot use the newer GDB versions. For example, the DJGPP (a.k.a. "go32") port of Emacs still uses the COFF debug info, and the latest GDB version that can be used to debug it is GDB 7.2. Any newer version simply cannot debug the program, and either crashes or fails to start the debuggee and take control when breakpoints are hit.