From: Christopher Faylor Date: Wed, 15 Aug 2001 14:47:53 +0000 (+0000) Subject: * gdbint.texinfo: Add a cautionary note about macro use. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9e678452d756bcdb0a1a78a4e438aca09460acfa;p=binutils-gdb.git * gdbint.texinfo: Add a cautionary note about macro use. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 22f0e14425d..1a2a5caef0e 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,7 @@ +Wed Aug 15 10:47:28 2001 Christopher Faylor + + * gdbint.texinfo: Add a cautionary note about macro use. + 2001-08-02 Corinna Vinschen * gdb.texinfo: Explain omitting the hostname in the 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