From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 56975 invoked by alias); 12 Jul 2016 14:27:38 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 56954 invoked by uid 89); 12 Jul 2016 14:27:38 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=shipping, customers, our, perfect X-HELO: mail-oi0-f68.google.com Received: from mail-oi0-f68.google.com (HELO mail-oi0-f68.google.com) (209.85.218.68) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 12 Jul 2016 14:27:28 +0000 Received: by mail-oi0-f68.google.com with SMTP id l9so1444682oih.0 for ; Tue, 12 Jul 2016 07:27:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=oHyljEoeniS6KL45bh1CCfZ+k6ksozk6GK8C2u3gT3Q=; b=hJ9omJHXBvIBAs5b5CzPY9CB/8ft77+WdXGyCNDnFKdgXo4lo+KQh4UGOpbGqiosaz ABhKOVEyvQl4YlJHYfJ/sB4lZoqlnrMpdp+NJE4zp7cwj+PQLfNNu559gotZ+9KUNmwY JydgQ1Cjc5z1QP40L1pA1a25Hi5Q+l56+USy0UnjL+l3IhIsx4VURWOkTIRXW6/bT4Bk WJU6XYpi81xUnT5YeW4KaE3yv/W/g6GkT16rvg8k+3PlPV+K6+PwwLeTMPSwMxoT07/N MdsTg2VAzFD7qv8yXhPb2vPUoyQhEnUuWRT6YdHB3uAVU9S+ACtJHSfTt4JvJklu9KfS V/0A== X-Gm-Message-State: ALyK8tKajXLNmzhGj66AmgRTY8OtPKsSKc1SPdzmtVFOE/ma2qfX6wlxcb9/X96JTXT5K0cB/SpM2k9kS/crHg== X-Received: by 10.202.217.67 with SMTP id q64mr12543586oig.12.1468333646242; Tue, 12 Jul 2016 07:27:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.182.130 with HTTP; Tue, 12 Jul 2016 07:27:25 -0700 (PDT) In-Reply-To: <1467838463-15786-1-git-send-email-brobecker@adacore.com> References: <1467838463-15786-1-git-send-email-brobecker@adacore.com> From: Yao Qi Date: Tue, 12 Jul 2016 14:27:00 -0000 Message-ID: Subject: Re: [RFC/RFA] Add support for the --readnever command-line option (DWARF only) To: Joel Brobecker Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2016-07/txt/msg00128.txt.bz2 Hi Joel, On Wed, Jul 6, 2016 at 9:54 PM, Joel Brobecker wrot= e: > Hello, > > One of our customers asked us about this option, which they could > see as being available in the version of GDB shipped by RedHat but > not in the version that AdaCore supports. > > The purpose of this option is to turn the load of debugging information > off. The implementation proposed here is mostly a copy of the patch > distributed with RedHat Fedora, and looking at the patch itself and > the history, I can see some reasons why it was never submitted: Andrew Cagney posted the patch https://www.sourceware.org/ml/gdb/2004-11/msg00216.html > - The patch appears to have been introduced as a workaround, at > least initially; > - The patch is far from perfect, as it simply shunts the load of > DWARF debugging information, without really worrying about the > other debug format. > - Who really does non-symbolic debugging anyways? The reason, IMO, it was posted is that people want GDB avoid reading debug info and efficiently dump stack backtrace. I think Red Hat people must know why Fedora is shipping this patch. I don't object to this approach. --=20 Yao (=E9=BD=90=E5=B0=A7)