[PATCH] Fix typo in info page
Nikolaos Chatzikonstantinou
nchatz314@gmail.com
Sun May 15 12:49:35 GMT 2022
>From 6485f0d123976176ddf7503224726c098eff727c Mon Sep 17 00:00:00 2001
From: Nikolaos Chatzikonstantinou <nchatz314@gmail.com>
Date: Sun, 15 May 2022 21:39:42 +0900
Subject: [PATCH] Fix typo in info page
To: gdb-patches@sourceware.org
---
gdb/doc/gdb.texinfo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 38ad2ac32b0..9df109ba330 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}.
--
2.35.1
More information about the Gdb-patches
mailing list