(Output Formats): More detailed description of the `c' format.
authorEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2005 12:10:55 +0000 (12:10 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 18 Jun 2005 12:10:55 +0000 (12:10 +0000)
(Memory): List explicitly all the formats supported by `x'.

gdb/doc/ChangeLog
gdb/doc/gdb.texinfo

index 7f4d15916503b0dfdd044c93a34b973b8c93225b..c05770c8dfbcd4204c4636afbf292a3895a191a0 100644 (file)
@@ -3,6 +3,8 @@
        * gdb.texinfo (Server): Clarify that `file' should be used before
        connecting to the server.
        (Files): Add an xref to the above description.
+       (Output Formats): More detailed description of the `c' format.
+       (Memory): List explicitly all the formats supported by `x'.
 
 2005-06-18  Nick Roberts  <nickrob@snap.net.nz>
 
index 88b9a2676f1be9ab91247a43d3f2eb35b0c548fa..48295ce253f85dba1d2acad79e1e7d16b7e38cec 100644 (file)
@@ -5309,7 +5309,10 @@ The command @code{info symbol 0x54320} yields similar results.
 @xref{Symbols, info symbol}.
 
 @item c
-Regard as an integer and print it as a character constant.
+Regard as an integer and print it as a character constant.  This
+prints both the numerical value and its character representation.  The
+character representation is replaced with the octal escape @samp{\nnn}
+for characters outside the 7-bit @sc{ascii} range.
 
 @item f
 Regard the bits of the value as a floating point number and print
@@ -5359,10 +5362,12 @@ how much memory (counting by units @var{u}) to display.
 @c 4.1.2.
 
 @item @var{f}, the display format
-The display format is one of the formats used by @code{print},
-@samp{s} (null-terminated string), or @samp{i} (machine instruction).
-The default is @samp{x} (hexadecimal) initially.
-The default changes each time you use either @code{x} or @code{print}.
+The display format is one of the formats used by @code{print}
+(@samp{x}, @samp{d}, @samp{u}, @samp{o}, @samp{t}, @samp{a}, @samp{c},
+@samp{f}), and in addition @samp{s} (for null-terminated strings) and
+@samp{i} (for machine instructions).  The default is @samp{x}
+(hexadecimal) initially.  The default changes each time you use either
+@code{x} or @code{print}.
 
 @item @var{u}, the unit size
 The unit size is any of
This page took 0.044119 seconds and 4 git commands to generate.