From fd353407e4e863ae7c237b7b02a1ee2eacfe40c0 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 15 Aug 2001 16:20:33 +0000 Subject: * gdbint.texinfo: Add a cautionary note about macro use. --- gdb/doc/ChangeLog | 4 ++++ gdb/doc/gdbint.texinfo | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 77b1a97..f632be8 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-07-30 Daniel Jacobowitz * gdbint.texinfo: Remove extraneous START-INFO-DIR-ENTRY 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 -- cgit v1.1