From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by sourceware.org (Postfix) with ESMTPS id 34DDD3858031 for ; Mon, 5 Apr 2021 19:36:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 34DDD3858031 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=sifive.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=jimw@sifive.com Received: by mail-ed1-x52b.google.com with SMTP id w18so13799339edc.0 for ; Mon, 05 Apr 2021 12:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Uucq0lgBvDKQNy1iE7/8DI1r4AoHEusrFDglwqAjbc8=; b=Pji6fsybgFs/t5zjDqDs04+8BekxmAtUqV5mMh80Nh1V6WjAQvtIAKc4JqrTJKN+D2 nSM++b3e/cw0DctdgJTuWv81mTQip8vXwTbLVeK+QAB7drdpdUWRHRvUwAtYFJoH5U0z +PRb09RERVaOoqnbw3I+cWP+H9eXAK1M9HbiEj/A8kTW/oWO/rhwn2IVmaVgGyon2qd7 tdaidD0PjF0kDh/ryNKAJbHliE9v60sc68PeGncF90iqCVM+KiAKiammzrn9l1xwPv1Z qFMunMwV2olT9Bpxo850p1Vgl/YMPooY8+6ErW+Vc10+Pk49miQrCJIwsRa58gAwVCg2 HVJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Uucq0lgBvDKQNy1iE7/8DI1r4AoHEusrFDglwqAjbc8=; b=JtV26COpbh3GjtW/5YNdRpmfGkaILzw2FqhYdUTNsTCbekVwX2D3Aidat5GvHBVdxf ehmWJcnQ4wY9hnat7Cim3dCj4ejEBy9BFv7kvxfjp82majybP2z+Cn/4Go7yNFRWWNKr UttMcVlYOTH2XddwRThqO6MAvVHN4cTX6LBojr6JcpVwIEn2R8Bbxr7OeSf/ZF//y4qL U36gTjTRUngetWaFQstxm5jwhqAVdnC5ROobtaDqTtR7p5xO6VjDjWlXY9z4NeM4jM85 jGIqea9YG6xvnjxXNheeHpPBeBGIh4v05j4wAi7siVdOzjKnvlTpDylEUovnNj0vuy4D TVaQ== X-Gm-Message-State: AOAM532lwM8n4yjhcTWH87jtD7icvCBSR5Woyva+F5XekUrnMclsi0VM ILL76j49nUmMKxw9h903Y1bpR8CAf8Vkq4lz5yQ3tA== X-Google-Smtp-Source: ABdhPJziPdshLb+i+PgtlB/pOnGQ/LeBQ10/EfsO28uAqxr9U5q7HEVoLoN3Mo+fUf0w+D/GK40FazVRHCLlsDQZeWk= X-Received: by 2002:aa7:d78a:: with SMTP id s10mr2626717edq.226.1617651406057; Mon, 05 Apr 2021 12:36:46 -0700 (PDT) MIME-Version: 1.0 References: <2cbc9ee0-31bf-f933-758f-8e5ebe8eab0e@polymtl.ca> In-Reply-To: <2cbc9ee0-31bf-f933-758f-8e5ebe8eab0e@polymtl.ca> From: Jim Wilson Date: Mon, 5 Apr 2021 12:36:35 -0700 Message-ID: Subject: Re: Default debug format for AVR To: Simon Marchi Cc: GCC Development X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, HTML_MESSAGE, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Apr 2021 19:36:48 -0000 On Sat, Apr 3, 2021 at 6:24 PM Simon Marchi via Gcc wrote: > The default debug format (when using only -g) for the AVR target is > stabs. Is there a reason for it not being DWARF, and would it be > possible to maybe consider possibly thinking about making it default to > DWARF? I am asking because the support for stabs in GDB is pretty much > untested and bit-rotting, so I think it would be more useful for > everyone to use DWARF. > I tried to deprecate the stabs support a little over 4 years ago. https://gcc.gnu.org/pipermail/gcc-patches/2017-December/489296.html There was a suggestion to change the error to a warning, but my startup company job kept me so busy I never had a chance to follow up on this. I would like to see the stabs support deprecated and the later removed from gcc. No new features have been added in a long time, and it is only being maintained in the sense that when it fails it is fixed to ignore source code constructs that it doesn't support. The longer it survives in this state, the less useful it becomes. Jim