aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/doc/ChangeLog5
-rw-r--r--gdb/doc/gdb.texinfo2
2 files changed, 6 insertions, 1 deletions
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 <hilfinger@adacore.com>
+
+ * gdb.texinfo (C Operators): Remove incorrect parenthetical comment
+ about &&var, which is rejected by the expression parser.
+
2008-01-09 Luis Machado <luisgpm@br.ibm.com>
* 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.