From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31453 invoked by alias); 25 Jul 2017 07:18:33 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 107640 invoked by uid 89); 25 Jul 2017 07:16:45 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy= X-HELO: mail-lf0-f67.google.com Received: from mail-lf0-f67.google.com (HELO mail-lf0-f67.google.com) (209.85.215.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 25 Jul 2017 07:16:44 +0000 Received: by mail-lf0-f67.google.com with SMTP id d80so2779935lfg.1 for ; Tue, 25 Jul 2017 00:16:44 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=p9bMBg/VHKn/pG0G6dPvjNtR1oZoA/e0mNjZPgdaj/g=; b=FXo7jPccwCD2vBPstrZ+icarijLg2CL62pxIR5F9bClOIEtX49iMy8mKWPXTPxO21z 8eIp/jLlN/Pkk4EKTzi08XOYEgc4FdnDsdT/hcZ+FWG9qzSUEVpOM5o73Mrt2Pkx9j5D JVMw16eWOy7kXx8mvMFtNJUMELxNuMVvsPWUhbx1MfIOJf2O3ZsN06IhgcmclPlCPfXS CsN9jtO3lTD7d1hdbYH0qMHFIu0RARNn9Az7eqorZQJl/4d5QBMKI8rz3MZLd7mr9+2Q 9HupQOLLgcGl+DdXQ/gsdgeepHUa+uVPckhcDIqnrJQ7In8HIxu4wUi7pHvUVmifsSWu yaTA== X-Gm-Message-State: AIVw113oLSPh7//Z0YcSdQI6m6jb6Q6r7waMWMU0R8lsL4NRJ9aywe8F n49afpIR7ei3py3L2rwnvO6zP2w3aA== X-Received: by 10.46.22.13 with SMTP id w13mr6076377ljd.76.1500967002199; Tue, 25 Jul 2017 00:16:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.31.134 with HTTP; Tue, 25 Jul 2017 00:16:41 -0700 (PDT) In-Reply-To: References: From: Richard Biener Date: Tue, 25 Jul 2017 07:18:00 -0000 Message-ID: Subject: Re: Deprecate DBX/stabs? To: David Edelsohn Cc: Nathan Sidwell , Jim Wilson , GCC Patches , Jason Merrill , Jim Wilson , Jan Hubicka , Mike Stump , Iain Sandoe , Nick Clifton , 10walls@gmail.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-07/txt/msg01496.txt.bz2 On Fri, Jul 21, 2017 at 4:15 PM, David Edelsohn wrote: >>>>>> Nathan Sidwell writes: > >> Let's at least deprecate it. I attach a patch to do so. With the >> patch, you'll get a note about dbx being deprecated whenever you use >> stabs debugging on a system that prefers stabs (thus both -g and -gstabs >> will warn). On systems where stabs is not preferred, -gstabs will not >> give you a warning. The patch survices an x86_64-linux bootstrap. > > Absolutely not. > > AIX still uses DBX as the primary debugging format. AIX supports > DWARF but the AIX toolchain does not fully interoperate with DWARF > generated by GCC. > > With the extensive use of DBX by AIX and regular patches from me to > fix xcoff stabs debugging, omitting me from the cc list implies that > you really haven't done your homework. The proposal was to define DBX_DEBUG_OK on such targets so their users do not get the deprecation warning. The idea is to remove support for STABS from targets that have well established DWARF support (like xyz-linux). Of course I would like complete STABS deprecation more but I knew that at least AIX stands in the way here ;) Richard. > Thanks, David