From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gnu.wildebeest.org (gnu.wildebeest.org [45.83.234.184]) by sourceware.org (Postfix) with ESMTPS id 0B4B83858D20 for ; Fri, 20 Jan 2023 12:48:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 0B4B83858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=klomp.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=klomp.org Received: from r6.localdomain (82-217-174-174.cable.dynamic.v4.ziggo.nl [82.217.174.174]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by gnu.wildebeest.org (Postfix) with ESMTPSA id 23D2F302BBEC; Fri, 20 Jan 2023 13:48:27 +0100 (CET) Received: by r6.localdomain (Postfix, from userid 1000) id 246BC34024C; Fri, 20 Jan 2023 13:48:27 +0100 (CET) Message-ID: Subject: Re: [RFC] Deprecate stabs From: Mark Wielaard To: Eli Zaretskii , Tom Tromey Cc: gdb-patches@sourceware.org Date: Fri, 20 Jan 2023 13:48:27 +0100 In-Reply-To: <83r0vqo15g.fsf@gnu.org> References: <20230119174156.654402-1-tom@tromey.com> <83r0vqo15g.fsf@gnu.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.2 (3.46.2-1.fc37) MIME-Version: 1.0 X-Spam-Status: No, score=-3030.4 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,KAM_SHORT,RCVD_IN_BARRACUDACENTRAL,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, On Thu, 2023-01-19 at 20:00 +0200, Eli Zaretskii wrote: > > From: Tom Tromey > > Cc: Tom Tromey > > Date: Thu, 19 Jan 2023 10:41:56 -0700 > >=20 > > I think it's time to deprecate stabs, and plan to remove all support > > for them.=C2=A0 Stabs are long since obsolete and are not really mainta= ined > > in gdb.=C2=A0 GCC deprecated them in 12 and will remove them as well. >=20 > IMO, we should remove support for stabs _after_ GCC, not before and > not together with it.=C2=A0 Not sure if "GDB 15" fits that. stabs support was deprecated in GCC 12 [1] and has been removed in GCC 13 [2], which is in pre-release state (stage 4) now. So the above plan actually trails GCC by two releases. So I would actually recommend adding a deprecation notice in GDB 13 and removal in GDB 14. Cheers, Mark [1] https://gcc.gnu.org/gcc-12/changes.html STABS: Support for emitting the STABS debugging format is deprecated and will be removed in the next release. All ports now default to emit DWARF (version 2 or later) debugging info or are obsoleted. [2]=20 https://gcc.gnu.org/gcc-13/changes.html Support for emitting the STABS debugging format (including the -gstabs and -gxcoff options) has been removed. (This means the dbx debugger is no longer supported, either.)