From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 088uHK+NymPy6RsAWB0awg (envelope-from ) for ; Fri, 20 Jan 2023 07:48:47 -0500 Received: by simark.ca (Postfix, from userid 112) id 665501E128; Fri, 20 Jan 2023 07:48:47 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from 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 RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 569841E0D3 for ; Fri, 20 Jan 2023 07:48:46 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EDA3E3858000 for ; Fri, 20 Jan 2023 12:48:42 +0000 (GMT) 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-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.29 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 Sender: "Gdb-patches" 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.)