From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9198 invoked by alias); 21 Jun 2003 18:07:42 -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 9187 invoked from network); 21 Jun 2003 18:07:41 -0000 Received: from unknown (HELO crack.them.org) (146.82.138.56) by sources.redhat.com with SMTP; 21 Jun 2003 18:07:41 -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 19Tmmv-0006FM-00; Sat, 21 Jun 2003 13:08:33 -0500 Received: from drow by nevyn.them.org with local (Exim 3.36 #1 (Debian)) id 19Tmm3-0002d0-00; Sat, 21 Jun 2003 14:07:39 -0400 Date: Sat, 21 Jun 2003 18:07:00 -0000 From: Daniel Jacobowitz To: gdb-patches@sources.redhat.com, eliz@gnu.org Cc: cagney@redhat.com Subject: Re: [5.2.1] quiet warnings for gdbreplay.c Message-ID: <20030621180738.GA10044@nevyn.them.org> Mail-Followup-To: gdb-patches@sources.redhat.com, eliz@gnu.org, 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> <20030621174002.GB14161@nevyn.them.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030621174002.GB14161@nevyn.them.org> User-Agent: Mutt/1.5.1i X-SW-Source: 2003-06/txt/msg00672.txt.bz2 On Sat, Jun 21, 2003 at 01:40:02PM -0400, Daniel Jacobowitz wrote: > 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? Hi Eli, Since it seems I captured Andrew's and my intent correctly, is this documentation patch OK? > 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. > > -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer