From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x42a.google.com (mail-wr1-x42a.google.com [IPv6:2a00:1450:4864:20::42a]) by sourceware.org (Postfix) with ESMTPS id 130593858D33 for ; Thu, 6 Jul 2023 17:46:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 130593858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=palves.net Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wr1-x42a.google.com with SMTP id ffacd0b85a97d-314172bb818so944181f8f.1 for ; Thu, 06 Jul 2023 10:46:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688665468; x=1691257468; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=SLz50hLcVijf9zJLFmgptZBQWoPZLGazucQU7A2rse4=; b=BUM229VwR3sSi95TZ+D24Ny2ch5UnaTu4NnloSbY2R8+5HPm8+cN2MV4Lgfp/PEV0c cDiay2JUSgkKP6TCf5Jn3nkItD1Ychd1jO/NHQXqZvO7gZaYi5x9BGgt0+IHkGxfvkBv PlzBMOuWjz5VCMnW/8XDjsUtLjQ36OSIU49Wy2ivBsN7s3VRTUr/QonTeEQO6fBJa4ia VAadLtPK4bNyCQQ0Pgdh3ka0325yoA0oKLzJoZ7VOmBupmIPM4JeSJwIsrnyaKGLLiMS Be7hIi3UT/wYs/0k8U0TJLqiAABZcyNXyVOHQSu+uz4ZORy2arigMvxwzuNmtIxedGv5 BckA== X-Gm-Message-State: ABy/qLYujoTiJWCDMtTlVTGxjJhudEdF3acP0UM8BNQzXFF82BSKv+Su HaNtqCKR86bP9GYb47A7zPyFj5rcp1U= X-Google-Smtp-Source: APBJJlGiq0iTWEQCmaofhOHXgEccMPagY3pxhqJQM0wRRTcNG50A/NuySKusVmgGYt607+UrnYPyTg== X-Received: by 2002:adf:e310:0:b0:314:1d77:55a1 with SMTP id b16-20020adfe310000000b003141d7755a1mr2041559wrj.4.1688665468217; Thu, 06 Jul 2023 10:44:28 -0700 (PDT) Received: from ?IPV6:2001:8a0:f91d:bc00:4994:a784:f998:13bf? ([2001:8a0:f91d:bc00:4994:a784:f998:13bf]) by smtp.gmail.com with ESMTPSA id k6-20020adfd846000000b00314315071bbsm2410624wrl.38.2023.07.06.10.44.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jul 2023 10:44:27 -0700 (PDT) Message-ID: <0d183bc4-8c59-ac65-91c3-3477e7bb2546@palves.net> Date: Thu, 6 Jul 2023 18:44:23 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [RFC] Deprecate stabs Content-Language: en-US To: Tom Tromey , gdb-patches@sourceware.org References: <20230119174156.654402-1-tom@tromey.com> From: Pedro Alves In-Reply-To: <20230119174156.654402-1-tom@tromey.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,GIT_PATCH_0,HEADER_FROM_DIFFERENT_DOMAINS,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham 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! This subject came up on IRC today. On 2023-01-19 17:41, Tom Tromey wrote: > I think it's time to deprecate stabs, and plan to remove all support > for them. Stabs are long since obsolete and are not really maintained > in gdb. GCC deprecated them in 12 and will remove them as well. Meanwhile, half a year passed, and GCC 13 is out. My position with stabs for years had been that, as long as GCC needs it for some ports, we should keep it. Since GCC has since removed support for stabs, I think we're now free to remove it too. I think we should mark stabs deprecated for GDB 14. We can discuss more when to actually remove it, but IMO, the sooner we mark it deprecated, the sooner people will be aware of our intentions. FWIW, I do support removing it in GDB 15. Pedro Alves > --- > gdb/NEWS | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/gdb/NEWS b/gdb/NEWS > index c0aac212e30..317f6536bc0 100644 > --- a/gdb/NEWS > +++ b/gdb/NEWS > @@ -5,6 +5,9 @@ > > * MI version 1 has been removed. > > +* Support for the stabs debugging format is deprecated, and it will be > + removed in GDB 15. > + > * GDB has initial built-in support for the Debugger Adapter Protocol. > This support requires that GDB be built with Python scripting > enabled.