From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id AYUTG153l2fDLhwAWB0awg (envelope-from ) for ; Mon, 27 Jan 2025 07:09:02 -0500 Authentication-Results: simark.ca; dkim=pass (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=a5+f2ggK; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 5404B1E105; Mon, 27 Jan 2025 07:09:02 -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, DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED 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 872A11E08E for ; Mon, 27 Jan 2025 07:09:01 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1A561385843B for ; Mon, 27 Jan 2025 12:09:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1A561385843B Authentication-Results: sourceware.org; dkim=pass (1024-bit key, unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=a5+f2ggK Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 81F74385802C for ; Mon, 27 Jan 2025 12:08:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 81F74385802C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 81F74385802C Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737979700; cv=none; b=Dh2Ggt3kzB085jljs43/2+01dGdwiJvx/gZqH02Qyqj3+kHJOFCcthyRpe38K7CE+IoOcRiiLSrHFhVPoKwOXmYLYmzLkmyLdl5pCpyqAkvCzRweAjIbJHWD1rYP6RqFGBQbc25j1N4+z92pgJr5vB1AhGA0yg8z3r0VqJPvm24= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1737979700; c=relaxed/simple; bh=XbfgD05g717XtRikBb117gFU4OJpqBzGOhGN+emC96s=; h=DKIM-Signature:Message-ID:Date:MIME-Version:Subject:To:From; b=AWMOUOkZM8gf+uhH7zZDlA5eCiUiUO4rG5bncOxMsuGF4bhmK94E3mB/+txh/6bulX3d2vwUYJ/fAZSm0Z/DkU/78VpA5+H8tC5YNR9oEZAtsACQ5GZNIlDZDLw6qGbC5Vw70XGFVGLnMq25UcnnA8s2De2/dRgrSs9zoZgz6SE= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81F74385802C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1737979700; h=from:from:reply-to:subject:subject: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=IOo2lZ0HTc2DgaLR4by6FKp4YVDV1Kjk2g/xspQ1uPU=; b=a5+f2ggKmAEfIkTCrQ94etg4SHFiN2183rBdwYX6K5PyenGzUpiy6+PumYz7Cx2fLnutlr SMAoluvBoI4nBdpzghzYmBj5YGtk5+7cREy4mjLPTTED3+87m3wlWRpBzSeJAfAaujaF7X sw80qdxaPzKHltqFwSTfFrdh+ciwmwc= Received: from mail-qv1-f69.google.com (mail-qv1-f69.google.com [209.85.219.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-639-8-MI9YriN_CjCn6EZHHRDA-1; Mon, 27 Jan 2025 07:08:19 -0500 X-MC-Unique: 8-MI9YriN_CjCn6EZHHRDA-1 X-Mimecast-MFC-AGG-ID: 8-MI9YriN_CjCn6EZHHRDA Received: by mail-qv1-f69.google.com with SMTP id 6a1803df08f44-6d87d6c09baso64200076d6.3 for ; Mon, 27 Jan 2025 04:08:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1737979698; x=1738584498; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IOo2lZ0HTc2DgaLR4by6FKp4YVDV1Kjk2g/xspQ1uPU=; b=eINK9E/ZGTt6Lsd378vrJDU9m4LwOQG4Qs+6QbWsvnlR57XOZJ9zMU0JSJmgkxBevZ qKQlk4X+oARauyzIFxRxnBm+67CAImiHa5DgnSaxa7RN/e3UP8Jicl71Dykn9JlS8QRj zzIu5TGuu66kSNYmmkMNyo4s65gLWLRBc5eLVFnmGmaSpmEvtDp3hBQrXrAEIsh9/HIj WtNyNxpnDIM96ctthO7JHdzptUlMHTVSvMLXSbLfy3lEVfUqZygSTnjgevoGp7U8q7hj aJGZ1YNDloLw5ie8yGPv9gpmjKtfmJFcnl4GX5B78DZ+WHIUikKpWfrpIs57niI/p3yl ssIw== X-Gm-Message-State: AOJu0YxleBJAQCbeH0jz9ZoRoYTz//ZGh67DBxjXEvw8o+GUXbBnVM4H x0QdCBz7owRwmo/nUc2auQ82/x33vzNmZHYjswn0DyQ0GMXad5M0DSVS80+lqYyq+aeXYGCFtlb hqzK/kSzMT2XmR3ftDBq7iCr3P1FN+fQvVzRRQHJXgFQu6GabeUDy1idP/pRnEr18Y1rZHdmJqb Znf02HaUyXtSyrxii41F0YUMp+nGmCT6TUVK5RkgFK7vvw X-Gm-Gg: ASbGncvLkEz1TkmVnyVd01dFMvV1qy9sBxvfeElzU/sy9kXfQ55r4c/r0wkr3qXsQ3l Y+S0E7yQqU4i/YVPe1TNdeQs9tCzlID1L0RwclduLUXVzQGTQHFVBoMdXAnJlnz9+u5M2Dez3LX 3de4frf0/PLluI670J3vbBLv+2KlZewld1g6Ke8clbgoAcdpIYNV/0fulLv6NjWPUII8FbYT84B pT+KipaX9fC9HB2wAapFMfRVVcQUjWyu9dF4oCK+PmTT2Ajor4ccOEJfyk0ql8YhxDLuqJrnf0g v0XHA/HqKlT4RNnS X-Received: by 2002:a05:6214:2dc8:b0:6d8:a1b4:b591 with SMTP id 6a1803df08f44-6e1b21d60b6mr696898676d6.23.1737979698309; Mon, 27 Jan 2025 04:08:18 -0800 (PST) X-Google-Smtp-Source: AGHT+IFuUfQDjR+/YadO8/7w/qHSReJWzlqurkW0CDZAmaPRtgyJ5j+bQPiWOo1yuiS4SyJFzCv1OQ== X-Received: by 2002:a05:6214:2dc8:b0:6d8:a1b4:b591 with SMTP id 6a1803df08f44-6e1b21d60b6mr696898256d6.23.1737979697905; Mon, 27 Jan 2025 04:08:17 -0800 (PST) Received: from ?IPV6:2804:14d:8084:9a69::1000? ([2804:14d:8084:9a69::1000]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6e2057a890fsm33691006d6.88.2025.01.27.04.08.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 27 Jan 2025 04:08:17 -0800 (PST) Message-ID: <592a9fcc-90b4-467b-bc4d-3f223797857a@redhat.com> Date: Mon, 27 Jan 2025 09:08:15 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 1/1] gdb: Deprecate stabs debug info To: gdb-patches@sourceware.org References: <20250113181359.1286957-1-guinevere@redhat.com> From: Guinevere Larsen In-Reply-To: <20250113181359.1286957-1-guinevere@redhat.com> X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: ofa_ResYAVFP0ams3zip8U_4xgpCghxdSLETbjRkNqo_1737979698 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Ping. I'm planning on pushing this next monday, so if anyone has negative feedback on this, speak now or forever hold your peace. -- Cheers, Guinevere Larsen She/Her/Hers On 1/13/25 3:13 PM, 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. > > [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