From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12010 invoked by alias); 21 Jun 2003 17:40:06 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 11813 invoked from network); 21 Jun 2003 17:40:05 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 21 Jun 2003 17:40:05 -0000 Received: from dsl093-172-017.pit1.dsl.speakeasy.net ([66.93.172.17] helo=nevyn.them.org ident=mail) by crack.them.org with asmtp (Exim 3.12 #1 (Debian)) id 19TmMC-0006Ce-00; Sat, 21 Jun 2003 12:40:56 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19TmLK-0002P5-00; Sat, 21 Jun 2003 13:40:02 -0400 Date: Sat, 21 Jun 2003 17:40:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com Cc: cagney@redhat.com Subject: Re: [5.2.1] quiet warnings for gdbreplay.c Message-ID: <20030621174002.GB14161@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, cagney@redhat.com References: <20020627204720.A13445@dragon.nuxi.com> <3D1C8AEF.5020508@ges.redhat.com> <20020628180820.GA9115@nevyn.them.org> <3D1CD337.2010205@ges.redhat.com> <20020628213904.GA15095@nevyn.them.org> <3D2B5212.3020302@ges.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3D2B5212.3020302@ges.redhat.com> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00666.txt.bz2 On Tue, Jul 09, 2002 at 05:13:54PM -0400, Andrew Cagney wrote: > >Then do we want a separate gdb/gdbint/ directory for this? I strongly > >prefer that headers shared between GDB and other directories be clearly > >marked and separated. That'd give me a place to move > >gdb_proc_service.h, too. > > I think it would be easier to just clarify the guidelines for > ``gdb_XXXX.h'' files - that they be independant as they are included by > GDB and friends. This has been on my TODO list for almost a year... Andrew, how's this? -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer 2003-06-21 Daniel Jacobowitz * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers. Index: gdbint.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdbint.texinfo,v retrieving revision 1.154 diff -u -p -r1.154 gdbint.texinfo --- gdbint.texinfo 19 Jun 2003 15:04:05 -0000 1.154 +++ gdbint.texinfo 21 Jun 2003 17:38:47 -0000 @@ -5191,7 +5191,11 @@ of @value{GDBN}) must be added to @file{ When @value{GDBN} has a local version of a system header file (ex @file{string.h}) the file name based on the POSIX header prefixed with -@file{gdb_} (@file{gdb_string.h}). +@file{gdb_} (@file{gdb_string.h}). These headers should be relatively +independent: they should use only macros defined by @file{configure}, +the compiler, or the host; they should include only system headers; they +should refer only to system types. They may be shared between multiple +programs, e.g.@: @value{GDBN} and @sc{gdbserver}. For other files @samp{-} is used as the separator.