diff options
author | Christopher Faylor <me+cygwin@cgf.cx> | 2001-08-15 16:20:33 +0000 |
---|---|---|
committer | Christopher Faylor <me+cygwin@cgf.cx> | 2001-08-15 16:20:33 +0000 |
commit | c7ce3c716e7cf33480792c2f64850b8fd5a0a75f (patch) | |
tree | 347b35ea47f1b43b5a2bd036b599a6aa89f3c330 | |
parent | a8f455b429f9a6d8b6b416e5c130be3af55f2ee3 (diff) | |
download | gdb-c7ce3c716e7cf33480792c2f64850b8fd5a0a75f.tar.gz |
* gdbint.texinfo: Add a cautionary note about macro use.
-rw-r--r-- | gdb/doc/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/doc/gdbint.texinfo | 4 |
2 files changed, 7 insertions, 1 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 3652d67651a..23adbb492f7 100644 --- a/gdb/doc/gdbint.texinfo +++ b/gdb/doc/gdbint.texinfo @@ -42,7 +42,7 @@ Software Foundation raise funds for GNU development.'' @page @tex \def\$#1${{#1}} % Kluge: collect RCS revision info without $...$ -\xdef\manvers{\$Revision: 1.33.2.1 $} % For use in headers, footers too +\xdef\manvers{\$Revision: 1.33.2.2 $} % For use in headers, footers too {\parskip=0pt \hfill Cygnus Solutions\par \hfill \manvers\par @@ -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 |