[Lldb-commits] [lldb] Document lldb `x` packet deprecation. (PR #125682)

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 4 05:11:49 PST 2025


https://github.com/labath created https://github.com/llvm/llvm-project/pull/125682

None

>From cfe826019bb54bdb62cccbd8e8d3eba8f4d6f312 Mon Sep 17 00:00:00 2001
From: Pavel Labath <pavel at labath.sk>
Date: Tue, 4 Feb 2025 14:11:03 +0100
Subject: [PATCH] Document lldb `x` packet deprecation.

---
 lldb/docs/resources/lldbgdbremote.md | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lldb/docs/resources/lldbgdbremote.md b/lldb/docs/resources/lldbgdbremote.md
index 5cac3736337a8f..162815148a18bf 100644
--- a/lldb/docs/resources/lldbgdbremote.md
+++ b/lldb/docs/resources/lldbgdbremote.md
@@ -2412,6 +2412,11 @@ value of errno if unlink failed.
 
 ## "x" - Binary memory read
 
+> **Warning:** The format of this packet was decided before GDB 16
+> introduced its own format for `x`. Future versions of LLDB may not
+> support the format described here, and new code should produce and
+> expect the format used by GDB.
+
 Like the `m` (read) and `M` (write) packets, this is a partner to the
 `X` (write binary data) packet, `x`.
 



More information about the lldb-commits mailing list