From b17828ca41d4e1cc14129b4760b4b8c35881d589 Mon Sep 17 00:00:00 2001 From: Joel Brobecker Date: Sat, 12 Jan 2008 08:36:10 +0000 Subject: * gdb.texinfo (C Operators): Remove incorrect parenthetical comment about &&var, which is rejected by the expression parser. --- gdb/doc/ChangeLog | 5 +++++ gdb/doc/gdb.texinfo | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'gdb/doc') diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index 613a5b0..9a47760 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 519b10b..2bee7b7 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. -- cgit v1.1