From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32069 invoked by alias); 22 Feb 2011 10:08:34 -0000 Received: (qmail 32058 invoked by uid 22791); 22 Feb 2011 10:08:34 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 22 Feb 2011 10:08:29 +0000 Received: (qmail 13930 invoked from network); 22 Feb 2011 10:08:27 -0000 Received: from unknown (HELO scottsdale.localnet) (pedro@127.0.0.2) by mail.codesourcery.com with ESMTPA; 22 Feb 2011 10:08:27 -0000 From: Pedro Alves To: gdb-patches@sourceware.org Subject: Re: [PATCH v3] sim: bfin: new port Date: Tue, 22 Feb 2011 10:50:00 -0000 User-Agent: KMail/1.13.5 (Linux/2.6.35-25-generic; KDE/4.6.0; x86_64; ; ) Cc: Mike Frysinger , Joel Brobecker References: <201011152039.08285.vapier@gentoo.org> <20110221095436.GD2600@adacore.com> <201102211153.47019.vapier@gentoo.org> In-Reply-To: <201102211153.47019.vapier@gentoo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201102221008.24740.pedro@codesourcery.com> X-IsSubscribed: yes 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 X-SW-Source: 2011-02/txt/msg00578.txt.bz2 On Monday 21 February 2011 16:53:45, Mike Frysinger wrote: > On Monday, February 21, 2011 04:54:36 Joel Brobecker wrote: > > Question: Why do you have .h files whose name starts with an underscore? > > For instance: sim/bfin/_proc_list.h... > > it's meant to convey that the header isnt meant to be generally included by > random files. they can only be included in specific instances since they're > simple lists which need certain preprocessor directives in place before they > can be included. i'm trying to avoid bit rot related to copying & pasting the > same list of numbers over and over in multiple places. That's a good idea. I notice a copyright header is missing though. FYI, on the gdb/ side, we name those files "*.def". E.g., ada-operator.def, common/ax.def, std-operator.def. -- Pedro Alves