From fdfd613467ac2fc05a22ca927ede87813eaf29e4 Mon Sep 17 00:00:00 2001 From: Fred Fish Date: Sat, 16 Mar 1996 22:16:06 +0000 Subject: [PATCH] From Peter Schauer * gdb.texinfo (Expressions): Fix erroneous array constant example. --- gdb/doc/ChangeLog | 8 ++++++-- gdb/doc/gdb.texinfo | 4 ++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/gdb/doc/ChangeLog b/gdb/doc/ChangeLog index ec07d0459ef..ec007f54b35 100644 --- a/gdb/doc/ChangeLog +++ b/gdb/doc/ChangeLog @@ -1,7 +1,11 @@ +Sat Mar 16 15:10:20 1996 Fred Fish + + From Peter Schauer + * gdb.texinfo (Expressions): Fix erroneous array constant example. + Sat Mar 16 13:28:45 1996 Fred Fish - * 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 7628a5d236b..89bfa832df6 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 -- 2.30.2