aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFred Fish <fnf@specifix.com>1996-03-16 22:16:06 +0000
committerFred Fish <fnf@specifix.com>1996-03-16 22:16:06 +0000
commitfdfd613467ac2fc05a22ca927ede87813eaf29e4 (patch)
tree0cdd720b153086fb0b80fa7d210dc41c2e627f5e
parentd5fde1c9067ba69171a839c21593435ff47d349c (diff)
downloadgdb-fdfd613467ac2fc05a22ca927ede87813eaf29e4.zip
gdb-fdfd613467ac2fc05a22ca927ede87813eaf29e4.tar.gz
gdb-fdfd613467ac2fc05a22ca927ede87813eaf29e4.tar.bz2
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
* gdb.texinfo (Expressions): Fix erroneous array constant example.
-rw-r--r--gdb/doc/ChangeLog8
-rw-r--r--gdb/doc/gdb.texinfo4
2 files changed, 8 insertions, 4 deletions
diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog
index ec07d04..ec007f5 100644
--- a/gdb/doc/ChangeLog
+++ b/gdb/doc/ChangeLog
@@ -1,7 +1,11 @@
+Sat Mar 16 15:10:20 1996 Fred Fish <fnf@cygnus.com>
+
+ From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
+ * gdb.texinfo (Expressions): Fix erroneous array constant example.
+
Sat Mar 16 13:28:45 1996 Fred Fish <fnf@cygnus.com>
- * gdb.texinfo: Add missing "@bullet" to some "@itemize"
- commands.
+ * gdb.texinfo: Add missing "@bullet" to some "@itemize" commands.
Sat Feb 10 03:28:36 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 7628a5d..89bfa83 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -4000,8 +4000,8 @@ and string constants. It unfortunately does not include symbols defined
by preprocessor @code{#define} commands.
@value{GDBN} now supports array constants in expressions input by
-the user. The syntax is @var{element, element@dots{}}. For example,
-you can now use the command @code{print @{1 2 3@}} to build up an array in
+the user. The syntax is @var{@{element, element@dots{}@}}. For example,
+you can now use the command @code{print @{1, 2, 3@}} to build up an array in
memory that is malloc'd in the target program.
@ifclear CONLY