summaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2003-06-22 04:28:04 +0000
committerDaniel Jacobowitz <drow@false.org>2003-06-22 04:28:04 +0000
commitb4177fca1357236a635e37a18c2e143e3eadbede (patch)
treea958c11a2335c70d7c357a8b44fc8f3b5c1840f7 /gdb/doc
parentf418dd93a819d4345a3f66ebfdc40de4b0666039 (diff)
downloadbinutils-gdb-b4177fca1357236a635e37a18c2e143e3eadbede.tar.gz
* gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdbint.texinfo6
2 files changed, 9 insertions, 1 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 60c1ad6e25c..b1b61a69b25 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,5 +1,9 @@
2003-06-22 Daniel Jacobowitz <drow@mvista.com>
+ * gdbint.texinfo (Coding): Clarify use of gdb_XXX.h headers.
+
+2003-06-22 Daniel Jacobowitz <drow@mvista.com>
+
* Makefile.in (SFILES_INCLUDED): Add agentexpr.texi.
* agentexpr.texi: Retitle section, and change it to an appendix.
Comment out texinfo initialization. Factor a @var{} into two
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 76521dbe48a..4f031e0f6b1 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.