aboutsummaryrefslogtreecommitdiff
path: root/gdb/doc
diff options
context:
space:
mode:
authorNikolaos Chatzikonstantinou <nchatz314@gmail.com>2022-05-15 21:39:42 +0900
committerTom Tromey <tromey@adacore.com>2022-05-17 09:00:05 -0600
commite84412c6a3c3eed1a4eca5fe18f329bfa7efea40 (patch)
treed35c2600a1157cb94c387d6ca1ba39b82675f743 /gdb/doc
parenta1f2ddd38378c8db63e75daa28b7e304c2fd774f (diff)
downloadgdb-e84412c6a3c3eed1a4eca5fe18f329bfa7efea40.zip
gdb-e84412c6a3c3eed1a4eca5fe18f329bfa7efea40.tar.gz
gdb-e84412c6a3c3eed1a4eca5fe18f329bfa7efea40.tar.bz2
Fix typo in info page
Diffstat (limited to 'gdb/doc')
-rw-r--r--gdb/doc/gdb.texinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 5b7cd30..8cf9786 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -10115,7 +10115,7 @@ It examines data in memory at a specified address and prints it in a
specified format. @xref{Memory, ,Examining Memory}.
If you are interested in information about types, or about how the
-fields of a struct or a class are declared, use the @code{ptype @var{exp}}
+fields of a struct or a class are declared, use the @code{ptype @var{expr}}
command rather than @code{print}. @xref{Symbols, ,Examining the Symbol
Table}.