summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me+cygwin@cgf.cx>2001-08-15 16:20:33 +0000
committerChristopher Faylor <me+cygwin@cgf.cx>2001-08-15 16:20:33 +0000
commitfd353407e4e863ae7c237b7b02a1ee2eacfe40c0 (patch)
tree443d00cd4933fdb39acc5979d0ed9f5dc99fb364
parentb7e1b321864b0506ffb8dddf073f3f59072b75b0 (diff)
downloadbinutils-gdb-fd353407e4e863ae7c237b7b02a1ee2eacfe40c0.tar.gz
* gdbint.texinfo: Add a cautionary note about macro use.
-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 77b1a97f6b2..f632be8a775 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-07-30 Daniel Jacobowitz <drow@mvista.com>
* gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY
diff --git a/gdb/doc/gdbint.texinfo b/gdb/doc/gdbint.texinfo
index 42bb9eb6391..914ebf4915f 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