From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.freebsd.org (mx2.freebsd.org [96.47.72.81]) by sourceware.org (Postfix) with ESMTPS id EADE53858D20 for ; Wed, 30 Aug 2023 20:47:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org EADE53858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=FreeBSD.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits)) (Client CN "mx1.freebsd.org", Issuer "R3" (verified OK)) by mx2.freebsd.org (Postfix) with ESMTPS id 4RbbvJ3GLCz4NgV; Wed, 30 Aug 2023 20:47:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RbbvJ2Mlpz4VG1; Wed, 30 Aug 2023 20:47:08 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693428428; 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: in-reply-to:in-reply-to:references:references; bh=3+oXEy5hwx/hZbPtwdSDxis6/6jieRsqc3R9k+lAgnE=; b=Ggy0sumGfYVhM3JbnN/G2zXozLLwQWyGjiVp5lBLkFoUBCeOlK2hygKWCPpCBaGi/gl32Q 3C8t+Bcf7arJqcin8aH+r0eZdmJc2gGh6uUvmYVPXJjQxm1acmfF6ZRTTB4xuNtoAfE/sL eBCG7YdaELmwWWVfr0YF7sJLRv9QjYl2zcNfacykm/XDQZs3y0yWaQY/tqXN2ABy/qgrV9 02BIUHxkr/q+YNSNbkW97j24234ncWb8Mvu9qH9m/Gt8jKZxvcyZEDO4AHcy16N3vTb4Xo dAgyCypT1019s9AwYAbfXbVzzD9gYN4cJ6frLj7NCwRnwJCbJeRs1hrzuoIuww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693428428; a=rsa-sha256; cv=none; b=UjjYT2WeuImdSvBnyJx68J8KxgV5k49J5cBmdv3Bq5V2WwARhorRstvoaFLEdvr6d/SeA0 u4fi0000FdDoJ347grk3eW0yzsbzfhR1hAPLEP917NQ+OQ/6gmNW6r6wkEik/c6EyyuUPp cq40p/eTz36sOu3bGeqeCA3yhZxtkLxvrev8tsQKzTkK4YUycTVLhtIMenxcFNVmYhVAvQ u/EW5scDGiz+6IBaSrdJNNr0stH8ijZwxjAxRZjJdXQzlz37sJmKk4tp2KcRDcKVbbVGt3 FtkLJTkiQ9JHKuA8dpIKr2QAVekhNyyRddyJ8GBnQEHtyLeFE0WUTBitgMVCJQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693428428; 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: in-reply-to:in-reply-to:references:references; bh=3+oXEy5hwx/hZbPtwdSDxis6/6jieRsqc3R9k+lAgnE=; b=CvNh4d9dD1C8CHgURwHH8xuYvK8W9y9JXBuQnxbk0009sEQZxXvARAz61ZLkoF2495SgBS 2gk3cZjYBrB7ATgL8SCzIWjvmTm0o/tC3s5CQo3uyYzNZdB6i27don1l1svmFdmXsBPSWZ Yes/N9K2xdKBdIZJcmlnt9y1tfw6Ptc3Z1IZC7b5TjkPmJch7HypUfUWI8msDyesvFNUAj cSmmtcG8QGbvI1fcg0bkgUVb/jZ6LeAJFmRsXzPX7QN/2ajVJm8/APf5nSBHl0k6BDx52l sKNKebxgDOOjOE0A8ELgBIfsiApqJjdnMGYueGWQPmGDzbYp+JxNQtRqU34KCg== Received: from [IPV6:2601:648:8683:a9e0:9cd8:9cdb:14b9:93d0] (unknown [IPv6:2601:648:8683:a9e0:9cd8:9cdb:14b9:93d0]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4RbbvH5wF1z94T; Wed, 30 Aug 2023 20:47:07 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: <96db54e7-95f2-bf2a-437c-89fbe177235e@FreeBSD.org> Date: Wed, 30 Aug 2023 13:47:06 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Subject: Re: [RFC] Deprecate stabs Content-Language: en-US To: Tom Tromey , Pedro Alves Cc: gdb-patches@sourceware.org References: <20230119174156.654402-1-tom@tromey.com> <0d183bc4-8c59-ac65-91c3-3477e7bb2546@palves.net> <87sf802zhi.fsf@tromey.com> From: John Baldwin In-Reply-To: <87sf802zhi.fsf@tromey.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,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: On 8/30/23 10:48 AM, Tom Tromey wrote: >>> I think it's time to deprecate stabs, and plan to remove all support >>> for them. Stabs are long since obsolete and are not really maintained >>> in gdb. GCC deprecated them in 12 and will remove them as well. > > Pedro> Meanwhile, half a year passed, and GCC 13 is out. > > 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. We still haven't branched for 14, so presumably you can still mark it deprecated in 14? Users don't really run master I assume, so adding it to NEWS earlier in 14.x's cycle wouldn't have made a difference I think? You can always defer the actual removal of stabs to later (closer to 15 branching) to leave time for users to voice their input. -- John Baldwin