From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id DAXLF3qD72TORA4AWB0awg (envelope-from ) for ; Wed, 30 Aug 2023 13:59:22 -0400 Authentication-Results: simark.ca; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha256 header.s=default header.b=fq884KQ9; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 560FB1E0C2; Wed, 30 Aug 2023 13:59:22 -0400 (EDT) Received: from server2.sourceware.org (ip-8-43-85-97.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 425091E092 for ; Wed, 30 Aug 2023 13:59:20 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 88C703858419 for ; Wed, 30 Aug 2023 17:59:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 88C703858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1693418359; bh=JknqpXpj64wUU4OnCZ5daZUV1YBefDLRQt5byLfCoyg=; h=Date:To:Cc:In-Reply-To:Subject:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=fq884KQ91HQdkKnUoNXxjfpHBLnzaczcztW4ZBraXJxEFOajjh7ZssYDDfih1wN6b d1KCdz/gbbhsZVCcJrNINkelYvsQDf0Rl6RH11iYunwkLDjI1kj0BuHraHZmKHOb8v f9yKN4oSzjReJTCSVZVtVE5Qwze1/yYtfMAZe7Dc= 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 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 Date: Wed, 30 Aug 2023 20:58:23 +0300 Message-Id: <83ledsfm4g.fsf@gnu.org> 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 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: , From: Eli Zaretskii via Gdb-patches Reply-To: Eli Zaretskii Errors-To: gdb-patches-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb-patches" > 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.