From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id gtw2HwumhmfQDA8AWB0awg (envelope-from ) for ; Tue, 14 Jan 2025 12:59:39 -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=MPdDlsmj; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 70F571E100; Tue, 14 Jan 2025 12:59:39 -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 D9DB11E05C for ; Tue, 14 Jan 2025 12:59:38 -0500 (EST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 804B5385608C for ; Tue, 14 Jan 2025 17:59:38 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 804B5385608C 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=MPdDlsmj Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTP id 947623856268 for ; Tue, 14 Jan 2025 17:59:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 947623856268 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 947623856268 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736877544; cv=none; b=at4TXPIDFo6kBZaOPjM5aD7GjXA5iijiwVn8XhrjGdEx4rizb927nZWOmROqPCtcWsheuWkAPJNXj9rb47JHHkpj7gVjrj+YZ8usyK7pi1ZjId5PBWEnfltV95+ny63t6jzzVfGMbdXU71+W7OULIpZ4CSBYWk3IHF0GduPyZ4I= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1736877544; c=relaxed/simple; bh=cdH9lw4C6IOvNq33h7prC4QQ0xY6UPXI4NkPYIawnyw=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=bYxoyXbc34CwDgP75Z0tsCcw/YcksPk85cGWsMfY8W1UZkS/IxIGvxgzZWsySPX5DGu4F1w/RWfTsH65+R1D2Ee+eruTspxUo/Lzsup4stx7EMVf9BXTLLWfKR7MRD/umW8Ds/DUFImi4W48nC9ivb760vuvigVZbq0AztT+K1w= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 947623856268 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1736877544; 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: in-reply-to:in-reply-to:references:references; bh=y0I6KEkYSQV0qIpP092sDQEhwXl253r5XIbWyImB1+M=; b=MPdDlsmjfKtz+S4KhOCALVMLDJqwuKRP0aico+wXLz5CE6KoZIf1hcjCjzgU4ZQ2WYsK8h mBDOPiidQmA3Y7xFC40/4AaUaTj1xTlI2QaB6ku588+sNOrbsM9EMQQDfm1PX74kP/JDTp p2JOK7djYRLXEOXg14iNSWLMXFOi5cE= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-50-fvexVYRpM-maA42aSAjPCg-1; Tue, 14 Jan 2025 12:59:02 -0500 X-MC-Unique: fvexVYRpM-maA42aSAjPCg-1 X-Mimecast-MFC-AGG-ID: fvexVYRpM-maA42aSAjPCg Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-38639b4f19cso1629422f8f.0 for ; Tue, 14 Jan 2025 09:59:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1736877540; x=1737482340; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=y0I6KEkYSQV0qIpP092sDQEhwXl253r5XIbWyImB1+M=; b=g+vXp5hD8UaFIpR6w5c5imSX1EXZ13VHxChdSWjK89qH+bATXZBGKpKIONjVMoh8cw JEVTLztOJ6rEUDXBJoPJ9lqk2q10Dkvg5B4NmY1/G3/Xbv4VI3usmtFULmIlTiUQACRX /1d/RfaPDStFQVe5a9laqhqOditNE+Jl0HFFHeW8tclTex1LATOeBxpiT0BOAerdEw2f tFPu8PzW+a8q3g1Uj9DCmLhO86OXkaiIiqV2lxPebb3QBR1b0t+gwXsVfGlj6J+MSbTw TcVHtjVnGmDA1ZMgQyOEq++5/sLDExhRUSr0GhqrilLiEQiji3U0HL1IYAJhA3ui0OVU vkuA== X-Forwarded-Encrypted: i=1; AJvYcCWGPAobetg+mCi+gbQO8Ioj0oxWn0SNcUWQVirzrbtcBeBRohLm5xhz8x+iDP/ukCrsP43fIGHOGlTxUQ==@sourceware.org X-Gm-Message-State: AOJu0Yy5wtTJIskmqF3qEEjShSRTisFfuU1ftF4lkLn1bcLBUF84vjGv Na+//FXgJCVZdEh9hXR1j0+WQThNQV2lpyYT3tBYQK+yMQB2GyyJ7LG5uKYHKBXDdWdVoGTW1tW OLtx5kx6RnK+BcpqJNsiRZ5w1vY//VWCIYH5dra0fsxfKYDOGa9vAQe9Wj0dQDNJAmww= X-Gm-Gg: ASbGncv1yPmxEThtqaep1p3yR63n8I/zyIzgHhBqqobMxa+UTR7Gnusw/vWOAhg1H3S 82R+ok2wrbc13s3PTMgD2RdNKUZME2MCw1sLuWr24cn89V4CnYbDM34qGopv9shaZFa9vT+aOPX 8U7nXhEmg1hPOGZ0oHgxPlRUWjOiw07rzUiuc/oLeafPq6FEuu8oUtg4qqDKas5be5DkMkulLxq G9fyCroDmjd2xaU2TUsVN4ufcgYuJNKEAP9poWNZWfmVIVSbgI38XquEfnID5R9sPg/AQBtu9jU XEyU2A== X-Received: by 2002:adf:9796:0:b0:38a:88f8:aabb with SMTP id ffacd0b85a97d-38a88f8acdbmr17675807f8f.55.1736877540517; Tue, 14 Jan 2025 09:59:00 -0800 (PST) X-Google-Smtp-Source: AGHT+IH9dhY2dw9NMU+2iBf/swhQef4EkSifnWraBSVfryL1NX3Ne3oUqRintDHaJ/hXApuraMg67g== X-Received: by 2002:adf:9796:0:b0:38a:88f8:aabb with SMTP id ffacd0b85a97d-38a88f8acdbmr17675801f8f.55.1736877540177; Tue, 14 Jan 2025 09:59:00 -0800 (PST) Received: from localhost (44.226.159.143.dyn.plus.net. [143.159.226.44]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-38be422191fsm1506404f8f.56.2025.01.14.09.58.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jan 2025 09:58:59 -0800 (PST) From: Andrew Burgess To: Guinevere Larsen , gdb-patches@sourceware.org Cc: Guinevere Larsen Subject: Re: [PATCH 1/1] gdb: Deprecate stabs debug info In-Reply-To: <20250113181359.1286957-1-guinevere@redhat.com> References: <20250113181359.1286957-1-guinevere@redhat.com> Date: Tue, 14 Jan 2025 17:58:59 +0000 Message-ID: <87tta1p998.fsf@redhat.com> MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: ayNPjwRtgAxYotxAsW3HK9Hd4XHMzHL_CA_kxhKMAVo_1736877541 X-Mimecast-Originator: redhat.com Content-Type: text/plain 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 Guinevere Larsen writes: > 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. I'm in favour of this. Like Tom said, lets give folk a chance to object before merging this, but hopefully this should allow removal of some old code. Approved-By: Andrew Burgess Thanks, Andrew > > [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 > -- > 2.47.1