From b4177fca1357236a635e37a18c2e143e3eadbede Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Sun, 22 Jun 2003 04:28:04 +0000 Subject: [PATCH] * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdbint.texinfo | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 60c1ad6e25..b1b61a69b2 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +2003-06-22 Daniel Jacobowitz + + * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers. + 2003-06-22 Daniel Jacobowitz * Makefile.in (SFILES_INCLUDED): Add agentexpr.texi. diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo index 76521dbe48..4f031e0f6b 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -5191,7 +5191,11 @@ of @value{GDBN}) must be added to @file{gdb/config/djgpp/fnchange.lst}. 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.