aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-08-15 14:47:53 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-08-15 14:47:53 +0000
commit9e678452d756bcdb0a1a78a4e438aca09460acfa (patch)
tree86e01befcf9d8cc29a5ec6e50250ccb89d982f7b /gdb
parent47fda0d3d9e6e2f1c547418b6ba3096ab24af1c9 (diff)
downloadgdb-9e678452d756bcdb0a1a78a4e438aca09460acfa.zip
gdb-9e678452d756bcdb0a1a78a4e438aca09460acfa.tar.gz
gdb-9e678452d756bcdb0a1a78a4e438aca09460acfa.tar.bz2
* gdbint.texinfo: Add a cautionary note about macro use.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/doc/ChangeLog4
-rw-r--r--gdb/doc/gdbint.texinfo2
2 files changed, 6 insertions, 0 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index 22f0e14..1a2a5ca 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,3 +1,7 @@
+Wed Aug 15 10:47:28 2001 Christopher Faylor <cgf@cygnus.com>
+
+ * gdbint.texinfo: Add a cautionary note about macro use.
+
2001-08-02 Corinna Vinschen <vinschen@redhat.com>
* gdb.texinfo: Explain omitting the hostname in the
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 42bb9eb..914ebf4 100644
--- a/gdb/doc/gdbint.texinfo
+++ b/gdb/doc/gdbint.texinfo
@@ -4395,6 +4395,8 @@ However, use functions with moderation. A thousand one-line functions
are just as hard to understand as a single thousand-line function.
@emph{Macros are bad, M'kay.}
+(But if you have to use a macro, make sure that the macro arguments are
+protected with parentheses.)
@cindex types