From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id o58BOqHdjWelGhUAWB0awg (envelope-from ) for ; Mon, 20 Jan 2025 00:22:41 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=BNz1hN/o; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=LHlbsDq7; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=BNz1hN/o; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=LHlbsDq7; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id DE2331E100; Mon, 20 Jan 2025 00:22:41 -0500 (EST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=4.0.0 Received: from server2.sourceware.org (server2.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 F02AE1E08E for ; Mon, 20 Jan 2025 00:22:40 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 6DF813858290 for ; Mon, 20 Jan 2025 05:22:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6DF813858290 Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=BNz1hN/o; dkim=pass header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=LHlbsDq7; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.a=rsa-sha256 header.s=susede2_rsa header.b=BNz1hN/o; dkim=neutral header.d=suse.de header.i=@suse.de header.a=ed25519-sha256 header.s=susede2_ed25519 header.b=LHlbsDq7 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.223.130]) by sourceware.org (Postfix) with ESMTPS id AC2B93858D21 for ; Mon, 20 Jan 2025 05:22:08 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AC2B93858D21 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org AC2B93858D21 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.130 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737350528; cv=none; b=vS6GK5sSfOgqawURh2V1D6zQkx0fGSZf2YR7mLWAKMdSkfXC4k+1NU5GZMEjd9KhiLMG1DkFiCTmJBQU1q9M3rMZILZWdn7wzhUFx4tmphm75/vpxU+S+Q743DZZP61/7WDXfg5eIDfULlIiKEaYSG8y+KZvZPiZzFBJPCfKAo8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737350528; c=relaxed/simple; bh=J4jl/EtZQTSyF5t026k9iQ/WLbVJcZPor3ESwCvvnXo=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature: Message-ID:Date:MIME-Version:Subject:To:From; b=SKb/75DCMd0/6gC+Ws53tzhN9dazs44thJtF0YR1IF9wQc9QcxljeO9cr3pXWfry4TB28mHbu/W7Dk+T0zII3LZ3hVpLfITCNM5+2VyLNLrcCElrYILkNCQoRXwdWgw+pcm9uQYy45bqlxwVwM8P3Htn9kzQLQFhvkBbgpkJVrk= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AC2B93858D21 Received: from imap1.dmz-prg2.suse.org (unknown [10.150.64.97]) (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) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 995DE2115E; Mon, 20 Jan 2025 05:22:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1737350527; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ElgkTZvrmWba5OOZkloiT8UQs+40qBhenjhsd2MGLy0=; b=BNz1hN/oMo8Gp69ZnqFB3MjK8A68ks1sddtUnaJicn1U4TOsSOOC/mknIvK4AMv/QZlbbG 6DuVbQVpcP0t85ShDw0d9611zHgE0RAUIy3XgKHgC8Yqa5I6+r4Z2pWkJ1KZc75hQsTl+a y7CP2VEel59oGmBd8k/Ww2J9DCrWtoY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1737350527; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ElgkTZvrmWba5OOZkloiT8UQs+40qBhenjhsd2MGLy0=; b=LHlbsDq7ai86+HLRFhlZcz4s4j7JII7jrAyg9/42VjE60i6aO24sjYnSEWtuAJISxN84pB u+EjhMcC7XcXd7CA== Authentication-Results: smtp-out1.suse.de; none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1737350527; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ElgkTZvrmWba5OOZkloiT8UQs+40qBhenjhsd2MGLy0=; b=BNz1hN/oMo8Gp69ZnqFB3MjK8A68ks1sddtUnaJicn1U4TOsSOOC/mknIvK4AMv/QZlbbG 6DuVbQVpcP0t85ShDw0d9611zHgE0RAUIy3XgKHgC8Yqa5I6+r4Z2pWkJ1KZc75hQsTl+a y7CP2VEel59oGmBd8k/Ww2J9DCrWtoY= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1737350527; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ElgkTZvrmWba5OOZkloiT8UQs+40qBhenjhsd2MGLy0=; b=LHlbsDq7ai86+HLRFhlZcz4s4j7JII7jrAyg9/42VjE60i6aO24sjYnSEWtuAJISxN84pB u+EjhMcC7XcXd7CA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (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) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 7CBBB1393E; Mon, 20 Jan 2025 05:22:07 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id 6tG2HH/djWddMQAAD6G6ig (envelope-from ); Mon, 20 Jan 2025 05:22:07 +0000 Message-ID: <335a09f0-ec03-4a60-bd9c-3006e449d853@suse.de> Date: Mon, 20 Jan 2025 06:22:21 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] gdb: Deprecate stabs debug info To: Guinevere Larsen , gdb-patches@sourceware.org References: <20250113181359.1286957-1-guinevere@redhat.com> Content-Language: en-US From: Tom de Vries In-Reply-To: <20250113181359.1286957-1-guinevere@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-4.30 / 50.00]; BAYES_HAM(-3.00)[99.99%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_TLS_ALL(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:mid,imap1.dmz-prg2.suse.org:helo] 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: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org On 1/13/25 19:13, Guinevere Larsen wrote: > GCC has deprecated stabs generation in GCC 12 and entirely removed it in > GCC 13, which was released in April 2023. At the time it was proposed > that GDB deprecate stabs as well, but the decision was to support it a > bit longer. With this patch, it'll be deprecated on GDB 17, and removed > on GDB 18, which following the current cadence, will be released early > 2026, meaning we will have supported stabs for nearly 3 years longer > than GCC, which I think is reasonable. > > As pointed out in the previous discussion on this topic[1], there are > several existing issues on the code, and none of the current maintainers > knows how to fix it. Unless someone steps up to fix this before the > removal on GDB 18, I don't see why we should keep this old code that > breaks all conventions of modern debuginfo readers and doesn't even > work, instead of being able to further advance adjacent code. > Hi Gwen, please add the bug tag for PR31210 - "[gdb, symtab] Deprecate stabs": Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=31210 Thanks, - Tom > [1] https://inbox.sourceware.org/gdb-patches/20230119174156.654402-1-tom@tromey.com/ > --- > gdb/NEWS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gdb/NEWS b/gdb/NEWS > index f454846646e..685ecefbe1c 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -44,6 +44,9 @@ maintenance check symtabs > ** New constant PARAM_COLOR represents color type of a value > of a object. Parameter's value is instance. > > +* Support for stabs debugging format is deprecates, and will be > + removed in GDB 18. > + > *** Changes in GDB 16 > > * Support for Nios II targets has been removed as this architecture