From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8450 invoked by alias); 14 Feb 2015 17:29:15 -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 8432 invoked by uid 89); 14 Feb 2015 17:29:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KAM_FROM_URIBL_PCCC,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-wi0-f177.google.com Received: from mail-wi0-f177.google.com (HELO mail-wi0-f177.google.com) (209.85.212.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 14 Feb 2015 17:29:13 +0000 Received: by mail-wi0-f177.google.com with SMTP id bs8so18450206wib.4 for ; Sat, 14 Feb 2015 09:29:10 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.194.71.110 with SMTP id t14mr32210381wju.58.1423934950452; Sat, 14 Feb 2015 09:29:10 -0800 (PST) Received: by 10.27.80.204 with HTTP; Sat, 14 Feb 2015 09:29:10 -0800 (PST) In-Reply-To: <54D94780.9050606@redhat.com> References: <1423524046-20605-1-git-send-email-palves@redhat.com> <1423524046-20605-10-git-send-email-palves@redhat.com> <54D94780.9050606@redhat.com> Date: Sat, 14 Feb 2015 17:29:00 -0000 Message-ID: Subject: Re: [PATCH 09/36] floatformat.h: Wrap in extern "C". From: Doug Evans To: Pedro Alves Cc: Andrew Pinski , "gdb-patches@sourceware.org" , GCC Patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00352.txt.bz2 On Mon, Feb 9, 2015 at 3:49 PM, Pedro Alves wrote: > On 02/09/2015 11:35 PM, Andrew Pinski wrote: >> On Mon, Feb 9, 2015 at 3:20 PM, Pedro Alves wrote: >>> Just like libiberty.h. So that C++ programs, such as GDB when built >>> as a C++ program, can use it. >> >> Why is not needed for GCC building with C++ compiler? > > Because it doesn't include it. > > The header of the file claims it is part of GDB, though MAINTAINERS > nowadays says that everything under include/ is owned by GCC. Wait, what? The actual wording is: "The rule is that if the file exists in the gcc tree then gcc owns it." It originated from this thread, https://sourceware.org/ml/gdb/2013-11/msg00025.html That's not the first message in the thread, but that's where I remember wanting to see something written down. Perhaps kinda unfortunate for things like include/gdb/gdb-index.h. But at least it's a rule that can be expressed in one sentence, and I don't think it's been a problem.