From: Joel Brobecker Date: Sat, 12 Jan 2008 08:36:10 +0000 (+0000) Subject: * gdb.texinfo (C Operators): Remove incorrect parenthetical comment X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b17828ca41d4e1cc14129b4760b4b8c35881d589;p=binutils-gdb.git * gdb.texinfo (C Operators): Remove incorrect parenthetical comment about &&var, which is rejected by the expression parser. --- diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 613a5b08213..9a477603801 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,3 +1,8 @@ +2008-01-12 Paul Hilfinger + + * gdb.texinfo (C Operators): Remove incorrect parenthetical comment + about &&var, which is rejected by the expression parser. + 2008-01-09 Luis Machado * gdb.texinfo (Output): Update documentation on using printf with DFP diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo index 519b10b50fc..2bee7b74271 100644 --- a/gdb/doc/gdb.texinfo +++ b/gdb/doc/gdb.texinfo @@ -9248,7 +9248,7 @@ Address operator. Defined on variables. Same precedence as @code{++}. For debugging C@t{++}, @value{GDBN} implements a use of @samp{&} beyond what is allowed in the C@t{++} language itself: you can use @samp{&(&@var{ref})} -(or, if you prefer, simply @samp{&&@var{ref}}) to examine the address +to examine the address where a C@t{++} reference variable (declared with @samp{&@var{ref}}) is stored.