Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH] [gdb/doc] Use '@:' after abbreviation
@ 2026-02-02 14:18 Tom de Vries
  2026-02-02 14:33 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Tom de Vries @ 2026-02-02 14:18 UTC (permalink / raw)
  To: gdb-patches

In gdb/doc/gdb.texinfo, we have:
...
For every type there is also a default kind associated with it, e.g.@
@code{Integer} in @value{GDBN} will internally be an @code{Integer*4} (see the
table below for default types).
...

While the @NL command [1] does probably prevent the sentence ending at 'e.g.',
the usual way to accomplish this is to use '@:' [2], so use that instead.

Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33868

[1] https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Multiple-Spaces.html
[2] https://www.gnu.org/software/texinfo/manual/texinfo/html_node/Not-Ending-a-Sentence.html
---
 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 80f49e21b7e..d39fa02b711 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -18131,7 +18131,7 @@ the size of each of the two @code{Real}'s it is composed of.  A
 @code{Complex*4} would thus consist of two @code{Real*4}s and occupy 8 bytes
 of memory.
 
-For every type there is also a default kind associated with it, e.g.@
+For every type there is also a default kind associated with it, e.g.@:
 @code{Integer} in @value{GDBN} will internally be an @code{Integer*4} (see the
 table below for default types).  The default types are the same as in @sc{gnu}
 compilers but note, that the @sc{gnu} default types can actually be changed by

base-commit: ef7aabf7979ba4812bfa1568e072653bb8127ea8
-- 
2.51.0


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

end of thread, other threads:[~2026-02-02 14:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-02 14:18 [PATCH] [gdb/doc] Use '@:' after abbreviation Tom de Vries
2026-02-02 14:33 ` Eli Zaretskii

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox