public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] gdb/doc: fix a makeinfo warning
@ 2023-05-31 14:13 Enze Li
  2023-05-31 14:40 ` Tom Tromey
  2023-05-31 14:54 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: Enze Li @ 2023-05-31 14:13 UTC (permalink / raw)
  To: gdb-patches; +Cc: enze.li

I see this warning when compiling GDB,

  gdb.texinfo:5975: warning: undefined flag: GDB
  gdb.texinfo:5976: warning: undefined flag: GDB

and consequently I see the misprints in doc/gdb/Dynamic-Printf.html as
follow,

  ...Most of {No value for ‘GDB’}’s format specifiers...

Fix this by using '@value{GDBN}' instead of '@value{GDB}'.
---
 gdb/doc/gdb.texinfo | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 4bc83ed2168..a179af77224 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -5972,8 +5972,8 @@ Handle the output by calling a function in your program (normally
 @code{printf}).  When using this style the supported format specifiers
 depend entirely on the function being called.
 
-Most of @value{GDB}'s format specifiers align with those supported by
-the @code{printf} function, however, @value{GDB}'s @samp{%V} format
+Most of @value{GDBN}'s format specifiers align with those supported by
+the @code{printf} function, however, @value{GDBN}'s @samp{%V} format
 specifier extension is not supported by @code{printf}.  When using
 @samp{call} style dprintf, care should be taken to ensure that only
 format specifiers supported by the output function are used, otherwise

base-commit: 6e9bcaad3fd8f7635afb9fa7013762da2eeff8e5
-- 
2.40.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-06-01  1:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-31 14:13 [PATCH] gdb/doc: fix a makeinfo warning Enze Li
2023-05-31 14:40 ` Tom Tromey
2023-06-01  1:34   ` Enze Li
2023-05-31 14:54 ` Eli Zaretskii
2023-06-01  1:42   ` Enze Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).