OSDN Git Service

* gdbint.texinfo: Add a cautionary note about macro use.
authorcgf <cgf>
Wed, 15 Aug 2001 14:47:53 +0000 (14:47 +0000)
committercgf <cgf>
Wed, 15 Aug 2001 14:47:53 +0000 (14:47 +0000)
gdb/doc/ChangeLog
gdb/doc/gdbint.texinfo

index 22f0e14..1a2a5ca 100644 (file)
@@ -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
index 42bb9eb..914ebf4 100644 (file)
@@ -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