Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [pushed] [gdb/doc] Fix "Debugger Adapter Protocol" typo
@ 2026-11-05  8:35 Tom de Vries
  2026-11-05  8:49 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Tom de Vries @ 2026-11-05  8:35 UTC (permalink / raw)
  To: gdb-patches

Fix a typo in gdb.texinfo:
- Debugger Adapter Protocol -> Debug Adapter Protocol

Add an anchor to keep Debugger-Adapter-Protocol.html as alias for
Debug-Adapter-Protocol.html in order not to break existing references.
---
 gdb/doc/gdb.texinfo | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gdb/doc/gdb.texinfo b/gdb/doc/gdb.texinfo
index 66152d2582e..bfc5b8760b9 100644
--- a/gdb/doc/gdb.texinfo
+++ b/gdb/doc/gdb.texinfo
@@ -159,7 +159,7 @@ software in general.  We will miss him.
 * Emacs::                       Using @value{GDBN} under @sc{gnu} Emacs
 * GDB/MI::                      @value{GDBN}'s Machine Interface.
 * Annotations::                 @value{GDBN}'s annotation interface.
-* Debugger Adapter Protocol::	The Debugger Adapter Protocol.
+* Debug Adapter Protocol::	The Debug Adapter Protocol.
 * JIT Interface::               Using the JIT debugging interface.
 * In-Process Agent::            In-Process Agent
 
@@ -31072,13 +31072,13 @@ used interpreter with @value{GDBN}. With no interpreter specified at runtime,
 
 @item dap
 @cindex DAP
-@cindex Debugger Adapter Protocol
+@cindex Debug Adapter Protocol
 When @value{GDBN} has been built with Python support, it also supports
-the Debugger Adapter Protocol.  This protocol can be used by a
+the Debug Adapter Protocol.  This protocol can be used by a
 debugger GUI or an IDE to communicate with @value{GDBN}.  This
 protocol is documented at
 @url{https://microsoft.github.io/debug-adapter-protocol/}.
-@xref{Debugger Adapter Protocol}, for information about @value{GDBN}
+@xref{Debug Adapter Protocol}, for information about @value{GDBN}
 extensions to the protocol.
 
 @item mi
@@ -40425,14 +40425,16 @@ source which is being displayed.  The @var{addr} is in the form @samp{0x}
 followed by one or more lowercase hex digits (note that this does not
 depend on the language).
 
-@node Debugger Adapter Protocol
-@chapter Debugger Adapter Protocol
+@node Debug Adapter Protocol
+@chapter Debug Adapter Protocol
+@c Alias for incorrect name advertised before GDB 19.
+@anchor{Debugger Adapter Protocol}
 
-The Debugger Adapter Protocol is a generic API that is used by some
+The Debug Adapter Protocol is a generic API that is used by some
 IDEs to communicate with debuggers.  It is documented at
 @url{https://microsoft.github.io/debug-adapter-protocol/}.
 
-Generally, @value{GDBN} implements the Debugger Adapter Protocol as
+Generally, @value{GDBN} implements the Debug Adapter Protocol as
 written.  However, in some cases, extensions are either needed or even
 expected.
 

base-commit: 2f98e7039f860acc5aba1b6700870a8e0836f90c
-- 
2.51.0


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

* Re: [pushed] [gdb/doc] Fix "Debugger Adapter Protocol" typo
  2026-11-05  8:35 [pushed] [gdb/doc] Fix "Debugger Adapter Protocol" typo Tom de Vries
@ 2026-11-05  8:49 ` Eli Zaretskii
  2026-11-05 13:52   ` Tom de Vries
  0 siblings, 1 reply; 3+ messages in thread
From: Eli Zaretskii @ 2026-11-05  8:49 UTC (permalink / raw)
  To: Tom de Vries; +Cc: gdb-patches

> From: Tom de Vries <tdevries@suse.de>
> Date: Thu,  5 Nov 2026 09:35:11 +0100
> 
> Fix a typo in gdb.texinfo:
> - Debugger Adapter Protocol -> Debug Adapter Protocol

Thanks.  Typo fixed are "obvious" and don't need any approval.  So
please feel free to install.

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

* Re: [pushed] [gdb/doc] Fix "Debugger Adapter Protocol" typo
  2026-11-05  8:49 ` Eli Zaretskii
@ 2026-11-05 13:52   ` Tom de Vries
  0 siblings, 0 replies; 3+ messages in thread
From: Tom de Vries @ 2026-11-05 13:52 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: gdb-patches

On 11/5/26 9:49 AM, Eli Zaretskii wrote:
>> From: Tom de Vries <tdevries@suse.de>
>> Date: Thu,  5 Nov 2026 09:35:11 +0100
>>
>> Fix a typo in gdb.texinfo:
>> - Debugger Adapter Protocol -> Debug Adapter Protocol
> 
> Thanks.  Typo fixed are "obvious" and don't need any approval.  So
> please feel free to install.

Hi Eli,

thanks for the (post-commit) review.

I had already pushed this patch, which I indicated using the "[pushed]" tag.

Thanks,
- Tom

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

end of thread, other threads:[~2026-11-05 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-05  8:35 [pushed] [gdb/doc] Fix "Debugger Adapter Protocol" typo Tom de Vries
2026-11-05  8:49 ` Eli Zaretskii
2026-11-05 13:52   ` Tom de Vries

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